WaterfallChartConfig constructor
WaterfallChartConfig({
- required List<
WaterfallItem> items, - ChartTheme? theme = ChartTheme.light,
- bool showConnectors = true,
- bool showLabels = true,
- bool showRunningTotal = false,
- Color increaseColor = const Color(0xFF4CAF50),
- Color decreaseColor = const Color(0xFFF44336),
- Color totalColor = const Color(0xFF2196F3),
- double barWidthFraction = 0.65,
- TitlesData? title,
- ChartTooltip? tooltip,
- ChartLegend? legend,
- ChartToolbox? toolbox,
- GridData? grid,
Implementation
WaterfallChartConfig({
required this.items,
super.theme = ChartTheme.light,
this.showConnectors = true,
this.showLabels = true,
this.showRunningTotal = false,
this.increaseColor = const Color(0xFF4CAF50),
this.decreaseColor = const Color(0xFFF44336),
this.totalColor = const Color(0xFF2196F3),
this.barWidthFraction = 0.65,
super.title,
super.tooltip,
super.legend,
super.toolbox,
super.grid,
}) : super(type: ChartType.waterfall, series: const []);