LineGradientChartConfig constructor
LineGradientChartConfig({
- List<
String> categories = const [], - required List<
Series> series, - ChartTheme theme = ChartTheme.light,
- String gradientStart = '#42A5F5',
- String gradientEnd = '#26C6DA',
- bool fillArea = true,
- double fillOpacity = 0.25,
- TitlesData? title,
- ChartTooltip? tooltip,
- ChartLegend? legend,
- ChartToolbox? toolbox,
- 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);