HistogramChartConfig constructor
HistogramChartConfig({
- required List<
Series> series, - ChartTheme theme = ChartTheme.light,
- int bins = 10,
- bool showKDE = true,
- bool showMean = true,
- bool showMedian = true,
- bool showStats = true,
- TitlesData? title,
- ChartTooltip? tooltip,
- ChartLegend? legend,
- ChartToolbox? toolbox,
- GridData? grid,
Implementation
HistogramChartConfig({
required super.series,
this.theme = ChartTheme.light,
int bins = 10,
this.showKDE = true,
this.showMean = true,
this.showMedian = true,
this.showStats = true,
super.title,
super.tooltip,
super.legend,
super.toolbox,
super.grid,
}) : bins = bins.clamp(1, 200).toInt(),
super(type: ChartType.histogram);