ChartBarPainter constructor

ChartBarPainter(
  1. List<ChartBean>? chartBeans,
  2. Color rectColor, {
  3. double value = 1,
  4. bool isShowX = false,
  5. double fontSize = 12,
  6. Color? fontColor,
  7. bool isCanTouch = false,
  8. bool isShowTouchShadow = true,
  9. bool isShowTouchValue = false,
  10. Color? rectShadowColor,
  11. Offset? globalPosition,
  12. double rectRadius = 0,
  13. double rectRadiusTopLeft = 0,
  14. double rectRadiusTopRight = 0,
  15. double rectRadiusBottomLeft = 0,
  16. double rectRadiusBottomRight = 0,
})

Implementation

ChartBarPainter(
  this.chartBeans,
  this.rectColor, {
  this.value = 1,
  this.isShowX = false,
  this.fontSize = 12,
  this.fontColor,
  this.isCanTouch = false,
  this.isShowTouchShadow = true,
  this.isShowTouchValue = false,
  this.rectShadowColor,
  this.globalPosition,
  this.rectRadius = 0,
  this.rectRadiusTopLeft = 0,
  this.rectRadiusTopRight = 0,
  this.rectRadiusBottomLeft = 0,
  this.rectRadiusBottomRight = 0,
});