init method
Creates the components, paints and animator. Subclasses add their renderer, highlighter and touch listener.
Implementation
@override
void init() {
super.init();
renderer = ScatterChartRenderer(this, animator, viewPortHandler);
xAxis.spaceMin = 0.5;
xAxis.spaceMax = 0.5;
}