ProgressBarChartPainter constructor

ProgressBarChartPainter({
  1. required BarChartStyle barChartStyle,
  2. required ChartAxis xAxis,
  3. required ChartAxis yAxis,
  4. required List<ProgressBarBundle> barBundleList,
  5. required double barGroupSpace,
  6. required double singleBarWidth,
  7. required double barMaxValue,
  8. bool drawX = true,
  9. bool drawY = true,
  10. bool drawBar = true,
  11. OnBarItemClickInterceptor? onBarItemClickInterceptor,
  12. Color selectedHintTextColor = Colors.white,
  13. Color selectedHintTextBackgroundColor = const Color(0xcc000000),
  14. ProgressBarItem? selectedBarItem,
  15. BrnProgressBarChartSelectCallback? brnProgressBarChartSelectCallback,
})

Implementation

ProgressBarChartPainter(
    {required this.barChartStyle,
    required this.xAxis,
    required this.yAxis,
    required this.barBundleList,
    required this.barGroupSpace,
    required this.singleBarWidth,
    required this.barMaxValue,
    this.drawX = true,
    this.drawY = true,
    this.drawBar = true,
    this.onBarItemClickInterceptor,
    this.selectedHintTextColor = Colors.white,
    this.selectedHintTextBackgroundColor = const Color(0xcc000000),
    this.selectedBarItem,
    this.brnProgressBarChartSelectCallback});