doneBeforePainterInit method

void doneBeforePainterInit()

Implementation

void doneBeforePainterInit() {
  legend = initLegend();
  legendRenderer = initLegendRenderer();
  xAxis = initXAxis();
  if (legendSettingFunction != null) {
    legendSettingFunction!(legend!, this);
  }
  if (xAxisSettingFunction != null) {
    xAxisSettingFunction!(xAxis!, this);
  }
}