PartitionFillLabel
@elastic/charts • Exports
@elastic/charts / PartitionFillLabel
Interface: PartitionFillLabel
Contents
Extends
LabelConfig
Properties
clipText
clipText:
boolean
Source
packages/charts/src/utils/themes/partition.ts:54
fontFamily
fontFamily:
string
Inherited from
LabelConfig.fontFamily
Source
packages/charts/src/common/text_utils.ts:62
fontStyle
fontStyle:
"normal"|"italic"|"oblique"|"inherit"|"initial"|"unset"
Inherited from
LabelConfig.fontStyle
Source
packages/charts/src/common/text_utils.ts:59
fontVariant
fontVariant:
"normal"|"small-caps"
Inherited from
LabelConfig.fontVariant
Source
packages/charts/src/common/text_utils.ts:60
fontWeight
fontWeight:
"bold"|100|"normal"|"inherit"|"initial"|"unset"|200|500|400|300|450|600|700|800|900|"lighter"|"bolder"
Inherited from
LabelConfig.fontWeight
Source
packages/charts/src/common/text_utils.ts:61
horizontalAlignment?
horizontalAlignment?:
PartitionFillLabelHorizontalAlignment
Overrides the layout dependent default horizontal alignment of the fill label. Only applies to the rectangular layouts (treemap, mosaic, flame, and icicle); sunburst and pie labels are always centered within their sector. When left undefined, labels are left aligned for all layouts but sunburst, whose labels are centered to avoid overlapping their sectors.
Source
packages/charts/src/utils/themes/partition.ts:72
padding
padding:
Partial<Padding>
Inherited from
LabelConfig.padding
Source
packages/charts/src/utils/themes/partition.ts:26
textColor
textColor:
string
Inherited from
LabelConfig.textColor
Source
packages/charts/src/utils/themes/partition.ts:24
valueFont
valueFont:
Partial<Font>
Inherited from
LabelConfig.valueFont
Source
packages/charts/src/utils/themes/partition.ts:25
verticalAlignment?
verticalAlignment?:
PartitionFillLabelVerticalAlignment
Overrides the layout dependent default vertical alignment of the fill label. Only applies to the rectangular layouts (treemap, mosaic, flame, and icicle); sunburst and pie labels are always centered within their sector. When left undefined, labels are vertically centered for flame and icicle layouts. In treemap and mosaic layouts, labels of the innermost layer are top aligned, and labels of the outer layers are bottom aligned within the parent label groove at the top of their cell. When set on the theme, it applies to every layer, including the parent labels in the groove.
Source
packages/charts/src/utils/themes/partition.ts:64
Generated using typedoc-plugin-markdown and TypeDoc