onAttach method

  1. @override
void onAttach(
  1. BaseChart<D> chart
)
inherited

Handles any setup of the renderer that needs to be deferred until it is attached to a chart.

Implementation

@override
void onAttach(BaseChart<D> chart) {
  super.onAttach(chart);
  this.chart = chart;
}