ChartPainter constructor
ChartPainter({
- Size indicatorSize = const Size(16, 16),
- double blur = 0,
- double verticalOffset = 0,
- double strokeWidth = 5,
- required LabelSeriesModel series,
Implementation
ChartPainter({
this.indicatorSize = const Size(16, 16),
double blur = 0,
this.verticalOffset = 0,
double strokeWidth = 5,
required this.series,
}) {
gridPainter = GridPainter(
color: AppColors.textColor.withAlpha(100),
columns: series.data.length * 2);
areaPainter = ChartAriaPainter(series: series);
}