ChartConfig constructor

ChartConfig({
  1. required List<ChartSeries> series,
  2. ChartTitle? title,
  3. Legend? legend,
  4. List<XAxis> xAxisList = const [XAxis()],
  5. List<YAxis> yAxisList = const [YAxis()],
  6. List<Polar> polarList = const [Polar()],
  7. List<Radar> radarList = const [],
  8. List<Parallel> parallelList = const [],
  9. List<Calendar> calendarList = const [],
  10. AnimatorProps animation = const AnimatorProps(),
  11. Grid grid = const Grid(),
  12. ScaleType scaleType = ScaleType.scale,
  13. DragType dragType = DragType.drag,
  14. 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,
});