WaterfallChartConfig constructor

WaterfallChartConfig({
  1. required List<WaterfallItem> items,
  2. ChartTheme? theme = ChartTheme.light,
  3. bool showConnectors = true,
  4. bool showLabels = true,
  5. bool showRunningTotal = false,
  6. Color increaseColor = const Color(0xFF4CAF50),
  7. Color decreaseColor = const Color(0xFFF44336),
  8. Color totalColor = const Color(0xFF2196F3),
  9. double barWidthFraction = 0.65,
  10. TitlesData? title,
  11. ChartTooltip? tooltip,
  12. ChartLegend? legend,
  13. ChartToolbox? toolbox,
  14. 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 []);