Data for pie slices as either list of numbers or list of numbers and fill styles.
// Example, all slices same style
data: [0, 10, 6, 4, 9, 8, 3, 6]
// Example, individual styles
data: [
{ value: 5, fillStyle: new SolidFill({ color: ColorCSS('red') }) },
{ value: 8, fillStyle: new SolidFill({ color: ColorCSS('green') }) },
{ value: 3, fillStyle: new SolidFill({ color: ColorCSS('blue') }) },
]
Optional
strokeOptional stroke style for slices.
Identifier that is used to select the spark chart type.
Description of a Spark Pie Chart.
Displays a miniature pie chart.
Can be used with DataGrid.
Alternatively, each slice can be assigned an individual fill style: