ChartConfig constructor
ChartConfig({
- required List<
ChartSeries> series, - ChartTitle? title,
- Legend? legend,
- List<
XAxis> xAxisList = const [XAxis()], - List<
YAxis> yAxisList = const [YAxis()], - List<
Polar> polarList = const [Polar()], - List<
Radar> radarList = const [], - List<
Parallel> parallelList = const [], - List<
Calendar> calendarList = const [], - AnimatorProps animation = const AnimatorProps(),
- Grid grid = const Grid(),
- ScaleType scaleType = ScaleType.scale,
- DragType dragType = DragType.drag,
- ToolTip? toolTip,
Implementation
ChartConfig({
required this.series,
this.title,
this.legend,
this.xAxisList = const [XAxis()],
this.yAxisList = const [YAxis()],
this.polarList = const [Polar()],
this.radarList = const [],
this.parallelList = const [],
this.calendarList = const [],
this.animation = const AnimatorProps(),
this.grid = const Grid(),
this.scaleType = ScaleType.scale,
this.dragType = DragType.drag,
this.toolTip,
});