onPaint method Null safety

void onPaint(
  1. Canvas canvas
)

To paint in the chart plot area.

  • canvas - Canvas used to draw the chart.

Implementation

void onPaint(Canvas canvas);