HistogramChartConfig constructor

HistogramChartConfig({
  1. required List<Series> series,
  2. ChartTheme theme = ChartTheme.light,
  3. int bins = 10,
  4. bool showKDE = true,
  5. bool showMean = true,
  6. bool showMedian = true,
  7. bool showStats = true,
  8. TitlesData? title,
  9. ChartTooltip? tooltip,
  10. ChartLegend? legend,
  11. ChartToolbox? toolbox,
  12. 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);