VerticalBarchart constructor

const VerticalBarchart({
  1. Key? key,
  2. double maxX = 20,
  3. List<VBarChartModel>? data,
  4. double labelSizeFactor = 0.33,
  5. Color? background = Colors.white,
  6. bool showLegend = false,
  7. List<Vlegend>? legend,
  8. Color? labelColor = Colors.indigo,
  9. Color? tooltipColor = Colors.indigo,
  10. LegendPosition? legendPosition = LegendPosition.BOTTOM,
  11. double tooltipSize = 40,
  12. bool alwaysShowDescription = false,
  13. bool showBackdrop = false,
  14. 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);