LineChartPainter constructor
LineChartPainter({
- required List<
LineChartSeries> series, - required double spacing,
- TextStyle? xAxisLabelStyle,
- TextStyle? yAxisLabelStyle,
- String yAxisLabelFormatter(
- double value
- String xAxisLabelFormatter(
- dynamic label
- double yAxisMargin = 30,
- double xAxisMargin = 30,
- bool showDots = true,
- bool showGrid = true,
- double dotRadius = 4.0,
- double strokeWidth = 2.0,
- required List xAxis,
- double? yMin,
- double? yMax,
Implementation
LineChartPainter({
required this.series,
required this.spacing,
this.xAxisLabelStyle,
this.yAxisLabelStyle,
this.yAxisLabelFormatter,
this.xAxisLabelFormatter,
this.yAxisMargin = 30,
this.xAxisMargin = 30,
this.showDots = true,
this.showGrid = true,
this.dotRadius = 4.0,
this.strokeWidth = 2.0,
required this.xAxis,
this.yMin,
this.yMax,
});