LineGradientChartConfig constructor

LineGradientChartConfig({
  1. List<String> categories = const [],
  2. required List<Series> series,
  3. ChartTheme theme = ChartTheme.light,
  4. String gradientStart = '#42A5F5',
  5. String gradientEnd = '#26C6DA',
  6. bool fillArea = true,
  7. double fillOpacity = 0.25,
  8. TitlesData? title,
  9. ChartTooltip? tooltip,
  10. ChartLegend? legend,
  11. ChartToolbox? toolbox,
  12. GridData? grid,
})

Implementation

LineGradientChartConfig({
  this.categories = const [],
  required super.series,
  this.theme = ChartTheme.light,
  this.gradientStart = '#42A5F5',
  this.gradientEnd = '#26C6DA',
  this.fillArea = true,
  this.fillOpacity = 0.25,
  super.title,
  super.tooltip,
  super.legend,
  super.toolbox,
  super.grid,
}) : super(type: ChartType.lineGradient);