ChartBar constructor
const
ChartBar({
- Key? key,
- required Size size,
- required List<
ChartBarBeanX> xDialValues, - double? baseLineY,
- Duration? duration,
- BaseBean? baseBean,
- Color? backgroundColor,
- double rectWidth = 20,
- double rectSpace = 5,
- TouchSet? touchSet,
- bool touchEnableNormalselect = true,
- GestureScaleUpdateCallback? onScaleUpdate,
- GestureScaleEndCallback? onScaleEnd,
- 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);