PieChartConfig constructor

PieChartConfig({
  1. required List<Series> series,
  2. ChartType? chartType,
  3. double centerSpaceRadius = 40.0,
  4. double sectionsSpace = 2.0,
  5. bool enableSections = true,
  6. double startDegreeOffset = 0,
  7. bool donut = false,
  8. TitlesData? title,
  9. ChartTooltip? tooltip,
  10. ChartLegend? legend,
  11. ChartToolbox? toolbox,
  12. GridData? grid,
  13. ChartTheme? theme,
  14. ChartController? controller,
  15. ChartAxisConfig? xAxisConfig,
  16. 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));