onDetach method
Handles any clean-up of the renderer that needs to be performed when it is detached from a chart.
Implementation
@override
void onDetach(BaseChart<D> chart) {}
Handles any clean-up of the renderer that needs to be performed when it is detached from a chart.
@override
void onDetach(BaseChart<D> chart) {}