ChartPainter constructor

ChartPainter({
  1. Size indicatorSize = const Size(16, 16),
  2. double blur = 0,
  3. double verticalOffset = 0,
  4. double strokeWidth = 5,
  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);
}