ZoomCharts Documentation
PieChart.settings.slice.hoverStyle.label
This section is defined by the type BaseSettingsLabelStyle.
Gets or sets the style of the external label. Use label.text
to specify the text that will be displayed.
Properties
align: "center" | "right" | "left"
Default value: "left"
Text alignment.
angle: number
The angle at which the label are rotated
aspectRatio: number
Ratio between label sizes in different dimensions
backgroundStyle: BaseSettingsBackgroundStyle
borderRadius: number
Radius of item border. Similar to CSS border radius property. Zero radius will show a rectangle
extra: any
Extra data associated with the label
image: string
Label image.
Slicing to use tiled images. Array of 4 values: [left, top, width, height]
lineSpacing: number
Default value: 0.2
Vertical space between the lines of text. In multiples of text line height.
margin: number
Margin around label text
maxWidth: number
Maximum width of the label.
padding: number
Padding between item content and item border.
text: string
Label text.
textStyle: BaseSettingsTextStyle