LineChartConfig constructor
LineChartConfig({
- required List<
Series> series, - XYAxis? xAxis,
- XYAxis? yAxis,
- double? maxY,
- bool showBelowArea = false,
- double curveSmoothness = 0.2,
- bool showDots = true,
- double dotSize = 4.0,
- TitlesData? title,
- ChartTooltip? tooltip,
- ChartLegend? legend,
- ChartToolbox? toolbox,
- GridData? grid,
- ChartTheme? theme,
- ChartController? controller,
- ChartAxisConfig? xAxisConfig,
- ChartAxisConfig? yAxisConfig,
Implementation
LineChartConfig({
required super.series,
this.xAxis,
this.yAxis,
double? maxY,
this.showBelowArea = false,
this.curveSmoothness = 0.2,
this.showDots = true,
this.dotSize = 4.0,
super.title,
super.tooltip,
super.legend,
super.toolbox,
super.grid,
super.theme,
super.controller,
super.xAxisConfig,
super.yAxisConfig,
}) : maxY = maxY ?? 0.0,
super(type: ChartType.line);