ZoomCharts Documentation

Version: 1.21.1 (2024-11-08)

PieChart.settings.slice.hoverStyle

This section is defined by the type PieChartSettingsSliceStyle.

Hovered slices style.

Properties

brightness: number
Default value: 1.2

Brightness applied to slice line and fill color value 0 - black value 1 - unchanged value 2 - transparent

cutoutDistance: number

Distance how far the slice is moved away from pie.

expandable: boolean

Specifies if the slice is expandable.

fillColor: string

Slice fill color.

fillGradient: GradientDefinition

Gradient definition for the pie slice

icon: string

Icon to display on slice.

View section details

Gets or sets the style of the label shown inside the slice. Use insideLabel.text to specify the text that will be displayed.

View section details

Gets or sets the style of the external label. Use label.text to specify the text that will be displayed.

lineBrightness: number
Default value: 2

Brightness applied to slice line color

lineColor: string

Outline color.

lineDash: Array<number>

Line dash array that is a pattern to get a dashed line. The array contains length of dash followed by length of space. Note that a sequence of multiple dash-space values is supported.

lineWidth: number
Default value: 0.35

Width of the slice outline.

View section details

Specifies markers positioned relative to the pie

View section details

Specifies markers positioned relative to the slice

url: string

Url to open on click.

X