ChartBarPainter constructor
ChartBarPainter(
- List<
ChartBean> ? chartBeans, - Color rectColor, {
- double value = 1,
- bool isShowX = false,
- double fontSize = 12,
- Color? fontColor,
- bool isCanTouch = false,
- bool isShowTouchShadow = true,
- bool isShowTouchValue = false,
- Color? rectShadowColor,
- Offset? globalPosition,
- double rectRadius = 0,
- double rectRadiusTopLeft = 0,
- double rectRadiusTopRight = 0,
- double rectRadiusBottomLeft = 0,
- 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,
});