markNeedsPaint abstract method

void markNeedsPaint()

Schedules a repaint of the chart, View.invalidate().

The chart does not call it from Chart.onDraw: the empty state's pulse while Chart.isLoading is true asks for the next frame through postFrame (Android's postInvalidateOnAnimation()). An implementation that is a render object must ignore a request after it was disposed; while it is detached (before Chart.host was set back to null) it may only mark itself dirty, so that it repaints when it is attached again.

Implementation

void markNeedsPaint();