ZoomCharts Documentation

Version: 1.21.1 (2024-11-08)

PieChart.settings.slice.selectedStyle.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

View section details

Background style including fill color.

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

forceNoWrap: boolean
image: string

Label image.

imageSlicing: [number, number, number, number]

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.

View section details

Text style including fill color and font.

X