PieSeries
The PieSeries
is the top level data class wrapper. It holds the data
for drawing the pie pieces, styling for all the pie slices at a data series level and text styling for pie labels.
This class ensures that any data provided to this series will be represented only as a PieChart or a DonutChart.
Class Properties
Name
Type
Required
Default Value
donutRadius
double?
false
0.0
donutSpaceColor
Color?
false
Colors.transparent
donutLabel
String Function()?
false
null
donutLabelStyle
ChartTextStyle?
false
null
slices
List<SliceData>
true
-
labelStyle
ChartTextStyle?
false
null
seriesStyle
SliceDataStyle?
false
null
Last updated