initialChartData property

List<CircularStackEntry>? initialChartData
final

The data used to build the chart displayed when the widget is first placed. Each CircularStackEntry in the list defines an individual stack of data: For a Pie chart that corresponds to individual slices in the chart. For a Radial chart it corresponds to individual segments on the same arc.

If length > 1 and chartType is CircularChartType.Radial then the stacks will be grouped together as concentric circles.

If chartType is CircularChartType.Pie then length cannot be > 1.

Implementation

final List<CircularStackEntry>? initialChartData;