ComboChartConfig constructor
ComboChartConfig({
- required List<
String> categories, - required List<
ComboSeries> comboSeries, - ChartTheme theme = ChartTheme.light,
- bool showLegend = true,
- double barGroupWidthFraction = 0.7,
- double dotRadius = 4.0,
- TitlesData? title,
- ChartTooltip? tooltip,
- ChartLegend? legend,
- ChartToolbox? toolbox,
- 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(),
);