ZoomCharts Documentation

Version: 1.21.1 (2024-11-08)

PieChart.settings.pie.style

This section is defined by the type PieChartSettingsPieStyle.

Default pie rendering style.

Properties

background: boolean
brightness: number
Default value: 1

Pie background brightness.

colorDistribution: "list" | "gradientProportional" | "gradient"
Default value: "list"

Color distribution among slices.

Valid values:
  • list
  • gradientProportional
  • gradient
fillColor: string
Default value: "transparent"

Pie background fill color. Useful while pie slices are loading.

sliceColors: Array<string>
Default value: [ "#2fc32f", "#b0dc0b", "#eab404", "#de672c", "#ec2e2e", "#d5429b", "#6f52b8", "#1c7cd5", "#56b9f7", "#0ae8eb" ]

Color set for pie slices.

X