init method
Implementation
void init(ChartContext context, GraphicsFactory graphicsFactory) {
this.context = context;
// When graphics factory is updated, update all the views.
if (this.graphicsFactory != graphicsFactory) {
this.graphicsFactory = graphicsFactory;
_layoutManager.applyToViews(
(view) => view.graphicsFactory = graphicsFactory,
);
}
configurationChanged();
}