BarChartConfig constructor

BarChartConfig({
  1. required List<Series> series,
  2. XYAxis? xAxis,
  3. XYAxis? yAxis,
  4. double? maxY,
  5. BarChartAlignment alignment = BarChartAlignment.spaceAround,
  6. double barWidth = 16.0,
  7. double? barBorderRadiusValue = 0.0,
  8. bool isStacked = false,
  9. bool isHorizontal = false,
  10. bool isMultiBar = false,
  11. TitlesData? title,
  12. ChartTooltip? tooltip,
  13. ChartLegend? legend,
  14. ChartToolbox? toolbox,
  15. GridData? grid,
  16. ChartTheme? theme,
  17. ChartController? controller,
  18. ChartAxisConfig? xAxisConfig,
  19. ChartAxisConfig? yAxisConfig,
})

Implementation

BarChartConfig({
  required super.series,
  this.xAxis,
  this.yAxis,
  this.maxY,
  this.alignment = BarChartAlignment.spaceAround,
  this.barWidth = 16.0,
  this.barBorderRadiusValue = 0.0,
  this.isStacked = false,
  this.isHorizontal = false,
  this.isMultiBar = false,
  super.title,
  super.tooltip,
  super.legend,
  super.toolbox,
  super.grid,
  super.theme,
  super.controller,
  super.xAxisConfig,
  super.yAxisConfig,
}) : super(type: ChartType.bar);