FunnelChartConfig constructor
FunnelChartConfig({
- required List<
FunnelItem> items, - ChartTheme? theme = ChartTheme.light,
- FunnelMode funnelMode = FunnelMode.funnel,
- bool showLabels = true,
- bool showValues = true,
- bool showPercentage = false,
- bool showConversionRate = false,
- double neckWidthFraction = 0.18,
- double gapFraction = 0.015,
- TitlesData? title,
- ChartTooltip? tooltip,
- ChartLegend? legend,
- ChartToolbox? toolbox,
- 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 []);