getSeriesRenderer method
Implementation
SeriesRenderer<D> getSeriesRenderer(String? rendererId) {
var renderer = _seriesRenderers[rendererId];
// Special case, if we are asking for the default and we haven't made it
// yet, then make it now.
if (renderer == null) {
// TODO: Throw an error if
// `rendererId != SeriesRenderer.defaultRendererId`?
renderer = makeDefaultRenderer();
defaultRenderer = renderer;
}
return renderer;
}