Skip to main content

PartitionStyle

@elastic/charts • Exports


@elastic/charts / PartitionStyle

Interface: PartitionStyle

Contents​

Extends​

  • FillFontSizeRange

Properties​

circlePadding​

circlePadding: number

Source​

packages/charts/src/utils/themes/partition.ts:123


dimmed​

dimmed: PartitionDimmedStyle

The style applied to partition slices when they are dimmed relative to other highlighted elements. This is typically used to visually de-emphasize slices when hovering over a legend item.

Source​

packages/charts/src/utils/themes/partition.ts:135


emptySizeRatio​

emptySizeRatio: number

The diameter of the inner circle, relative to outerSizeRatio

Source​

packages/charts/src/utils/themes/partition.ts:117


fillLabel​

fillLabel: PartitionFillLabel

Source​

packages/charts/src/utils/themes/partition.ts:127


fontFamily​

fontFamily: string

Source​

packages/charts/src/utils/themes/partition.ts:122


horizontalTextAngleThreshold​

horizontalTextAngleThreshold: number

Source​

packages/charts/src/utils/themes/partition.ts:125


horizontalTextEnforcer​

horizontalTextEnforcer: number

Source​

packages/charts/src/utils/themes/partition.ts:126


idealFontSizeJump​

idealFontSizeJump: number

Inherited from​

FillFontSizeRange.idealFontSizeJump

Source​

packages/charts/src/utils/themes/partition.ts:79


linkLabel​

linkLabel: LinkLabelConfig

Source​

packages/charts/src/utils/themes/partition.ts:128


maxFontSize​

maxFontSize: number

Inherited from​

FillFontSizeRange.maxFontSize

Source​

packages/charts/src/utils/themes/partition.ts:78


maximizeFontSize​

maximizeFontSize: boolean

When maximizeFontSize is false (the default), text font will not be larger than font sizes in larger sectors/rectangles in the same pie chart, sunburst ring or treemap layer. When it is set to true, the largest font, not exceeding maxFontSize, that fits in the slice/sector/rectangle will be chosen for easier text readability, irrespective of the value.

Inherited from​

FillFontSizeRange.maximizeFontSize

Source​

packages/charts/src/utils/themes/partition.ts:85


minFontSize​

minFontSize: number

Inherited from​

FillFontSizeRange.minFontSize

Source​

packages/charts/src/utils/themes/partition.ts:77


outerSizeRatio​

outerSizeRatio: number

The diameter of the entire circle, relative to the smaller of the usable rectangular size (smaller of width/height minus the margins)

Source​

packages/charts/src/utils/themes/partition.ts:121


radialPadding​

radialPadding: number

Source​

packages/charts/src/utils/themes/partition.ts:124


sectorLineStroke​

sectorLineStroke: string

Source​

packages/charts/src/utils/themes/partition.ts:130


sectorLineWidth​

sectorLineWidth: number

Source​

packages/charts/src/utils/themes/partition.ts:129


Generated using typedoc-plugin-markdown and TypeDoc