VerticalBarchart constructor
const
VerticalBarchart({
- Key? key,
- double maxX = 20,
- List<
VBarChartModel> ? data, - double labelSizeFactor = 0.33,
- Color? background = Colors.white,
- bool showLegend = false,
- List<
Vlegend> ? legend, - Color? labelColor = Colors.indigo,
- Color? tooltipColor = Colors.indigo,
- LegendPosition? legendPosition = LegendPosition.BOTTOM,
- double tooltipSize = 40,
- bool alwaysShowDescription = false,
- bool showBackdrop = false,
- Color? backdropColor = const Color(0xFFE0E0E0),
Implementation
const VerticalBarchart({
Key? key,
this.maxX = 20,
this.data,
this.labelSizeFactor = 0.33,
this.background = Colors.white,
this.showLegend = false,
this.legend,
this.labelColor = Colors.indigo,
this.tooltipColor = Colors.indigo,
this.legendPosition = LegendPosition.BOTTOM,
this.tooltipSize = 40,
this.alwaysShowDescription = false,
this.showBackdrop = false,
this.backdropColor = const Color(0xFFE0E0E0),
}) : super(key: key);