ZoomCharts Documentation
PieChart.settings.slice.style.insideLabel
This section is defined by the type BaseSettingsLabelStyle.
Gets or sets the style of the label shown inside the slice. Use insideLabel.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
Default value: 0
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
Default value: 4
Margin around label text
maxWidth: number
Maximum width of the label.
padding: number
Default value: 0
Padding between item content and item border.
text: string
Default value: null
Label text.
textStyle: BaseSettingsTextStyle