CustomChartConfig constructor

CustomChartConfig({
  1. CustomChartBuilder? builder,
  2. CustomPainterFactory? painterFactory,
  3. Map<String, dynamic> rawData = const {},
  4. String? subType,
  5. ChartTheme theme = ChartTheme.light,
  6. Duration animationDuration = const Duration(milliseconds: 700),
  7. TitlesData? title,
  8. ChartTooltip? tooltip,
  9. ChartLegend? legend,
  10. ChartToolbox? toolbox,
  11. GridData? grid,
})

Implementation

CustomChartConfig({
  this.builder,
  this.painterFactory,
  this.rawData = const {},
  this.subType,
  this.theme = ChartTheme.light,
  this.animationDuration = const Duration(milliseconds: 700),
  super.title,
  super.tooltip,
  super.legend,
  super.toolbox,
  super.grid,
}) : super(type: ChartType.custom, series: const []);