LineChartConfig constructor

LineChartConfig({
  1. required List<Series> series,
  2. XYAxis? xAxis,
  3. XYAxis? yAxis,
  4. double? maxY,
  5. bool showBelowArea = false,
  6. double curveSmoothness = 0.2,
  7. bool showDots = true,
  8. double dotSize = 4.0,
  9. TitlesData? title,
  10. ChartTooltip? tooltip,
  11. ChartLegend? legend,
  12. ChartToolbox? toolbox,
  13. GridData? grid,
  14. ChartTheme? theme,
  15. ChartController? controller,
  16. ChartAxisConfig? xAxisConfig,
  17. 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);