ChartBar constructor

const ChartBar({
  1. Key? key,
  2. bool animate = false,
  3. List<ChartLineData> lineData = const [],
  4. double height = 200.0,
  5. bool vertical = true,
  6. int titleFontSize = 14,
  7. bool showBarLabel = false,
  8. double maskFontSize = 18.0,
  9. bool showLegend = true,
  10. bool showChartTitle = true,
  11. bool showAxisLine = false,
  12. Widget? loadingWidget,
  13. String groupType = 'grouped',
  14. bool hidePrimaryAxis = false,
  15. bool hideSecondaryAxis = false,
  16. bool hideDomainAxis = false,
})

Implementation

const ChartBar(
    {Key? key,
    this.animate = false,
    this.lineData = const [],
    this.height = 200.0,
    this.vertical = true,
    this.titleFontSize = 14,
    this.showBarLabel = false,
    this.maskFontSize = 18.0,
    this.showLegend = true,
    this.showChartTitle = true,
    this.showAxisLine = false,
    this.loadingWidget,
    this.groupType = 'grouped',
    this.hidePrimaryAxis = false,
    this.hideSecondaryAxis = false,
    this.hideDomainAxis = false})
    : super(key: key);