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:85


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:97


emptySizeRatio​

emptySizeRatio: number

The diameter of the inner circle, relative to outerSizeRatio

Source​

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


fillLabel​

fillLabel: PartitionFillLabel

Source​

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


fontFamily​

fontFamily: string

Source​

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


horizontalTextAngleThreshold​

horizontalTextAngleThreshold: number

Source​

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


horizontalTextEnforcer​

horizontalTextEnforcer: number

Source​

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


idealFontSizeJump​

idealFontSizeJump: number

Inherited from​

FillFontSizeRange.idealFontSizeJump

Source​

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


linkLabel​

linkLabel: LinkLabelConfig

Source​

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


maxFontSize​

maxFontSize: number

Inherited from​

FillFontSizeRange.maxFontSize

Source​

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


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:47


minFontSize​

minFontSize: number

Inherited from​

FillFontSizeRange.minFontSize

Source​

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


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:83


radialPadding​

radialPadding: number

Source​

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


sectorLineStroke​

sectorLineStroke: string

Source​

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


sectorLineWidth​

sectorLineWidth: number

Source​

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


Generated using typedoc-plugin-markdown and TypeDoc