ChartBar constructor

const ChartBar({
  1. Key? key,
  2. required Size size,
  3. required List<ChartBarBeanX> xDialValues,
  4. double? baseLineY,
  5. Duration? duration,
  6. BaseBean? baseBean,
  7. Color? backgroundColor,
  8. double rectWidth = 20,
  9. double rectSpace = 5,
  10. TouchSet? touchSet,
  11. bool touchEnableNormalselect = true,
  12. GestureScaleUpdateCallback? onScaleUpdate,
  13. GestureScaleEndCallback? onScaleEnd,
  14. GestureScaleStartCallback? onScaleStart,
})

Implementation

const ChartBar({
  Key? key,
  required this.size,
  required this.xDialValues,
  this.baseLineY,
  this.duration,
  this.baseBean,
  this.backgroundColor,
  this.rectWidth = 20,
  this.rectSpace = 5,
  this.touchSet,
  this.touchEnableNormalselect = true,
  this.onScaleUpdate,
  this.onScaleEnd,
  this.onScaleStart,
}) : super(key: key);