BarChartConfig constructor
BarChartConfig({
- required List<
Series> series, - XYAxis? xAxis,
- XYAxis? yAxis,
- double? maxY,
- BarChartAlignment alignment = BarChartAlignment.spaceAround,
- double barWidth = 16.0,
- double? barBorderRadiusValue = 0.0,
- bool isStacked = false,
- bool isHorizontal = false,
- bool isMultiBar = false,
- TitlesData? title,
- ChartTooltip? tooltip,
- ChartLegend? legend,
- ChartToolbox? toolbox,
- GridData? grid,
- ChartTheme? theme,
- ChartController? controller,
- ChartAxisConfig? xAxisConfig,
- 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);