ComboChartConfig constructor

ComboChartConfig({
  1. required List<String> categories,
  2. required List<ComboSeries> comboSeries,
  3. ChartTheme theme = ChartTheme.light,
  4. bool showLegend = true,
  5. double barGroupWidthFraction = 0.7,
  6. double dotRadius = 4.0,
  7. TitlesData? title,
  8. ChartTooltip? tooltip,
  9. ChartLegend? legend,
  10. ChartToolbox? toolbox,
  11. GridData? grid,
})

Implementation

ComboChartConfig({
  required this.categories,
  required this.comboSeries,
  this.theme = ChartTheme.light,
  this.showLegend = true,
  this.barGroupWidthFraction = 0.7,
  this.dotRadius = 4.0,
  super.title,
  super.tooltip,
  super.legend,
  super.toolbox,
  super.grid,
}) : super(
       type: ChartType.combo,
       series: comboSeries.map((s) => s.base).toList(),
     );