PieChartConfig constructor
PieChartConfig({
- required List<
Series> series, - ChartType? chartType,
- double centerSpaceRadius = 40.0,
- double sectionsSpace = 2.0,
- bool enableSections = true,
- double startDegreeOffset = 0,
- bool donut = false,
- TitlesData? title,
- ChartTooltip? tooltip,
- ChartLegend? legend,
- ChartToolbox? toolbox,
- GridData? grid,
- ChartTheme? theme,
- ChartController? controller,
- ChartAxisConfig? xAxisConfig,
- ChartAxisConfig? yAxisConfig,
Implementation
PieChartConfig({
required super.series,
ChartType? chartType,
this.centerSpaceRadius = 40.0,
this.sectionsSpace = 2.0,
this.enableSections = true,
this.startDegreeOffset = 0,
this.donut = false,
super.title,
super.tooltip,
super.legend,
super.toolbox,
super.grid,
super.theme,
super.controller,
super.xAxisConfig,
super.yAxisConfig,
}) : super(type: chartType ?? (donut ? ChartType.donut : ChartType.pie));