FunnelChartConfig constructor

FunnelChartConfig({
  1. required List<FunnelItem> items,
  2. ChartTheme? theme = ChartTheme.light,
  3. FunnelMode funnelMode = FunnelMode.funnel,
  4. bool showLabels = true,
  5. bool showValues = true,
  6. bool showPercentage = false,
  7. bool showConversionRate = false,
  8. double neckWidthFraction = 0.18,
  9. double gapFraction = 0.015,
  10. TitlesData? title,
  11. ChartTooltip? tooltip,
  12. ChartLegend? legend,
  13. ChartToolbox? toolbox,
  14. GridData? grid,
})

Implementation

FunnelChartConfig({
  required this.items,
  super.theme = ChartTheme.light,
  this.funnelMode = FunnelMode.funnel,
  this.showLabels = true,
  this.showValues = true,
  this.showPercentage = false,
  this.showConversionRate = false,
  this.neckWidthFraction = 0.18,
  this.gapFraction = 0.015,
  super.title,
  super.tooltip,
  super.legend,
  super.toolbox,
  super.grid,
}) : super(type: ChartType.funnel, series: const []);