private Stacker <TDrawingContext> GetStacker(IDrawableSeries <TDrawingContext> series, int stackGroup) { var key = $"{series.SeriesProperties}.{stackGroup}"; if (!stackers.TryGetValue(key, out var stacker)) { stacker = new Stacker <TDrawingContext>(); stackers.Add(key, stacker); } return(stacker); }
private Stacker <TDrawingContext> GetStacker(ISeries <TDrawingContext> series, int stackGroup) { var key = $"{series.SeriesType}.{series.Direction}.{stackGroup}"; if (!stackers.TryGetValue(key, out var stacker)) { stacker = new Stacker <TDrawingContext>(series.Direction); stackers.Add(key, stacker); } return(stacker); }