public VisualizerBase GetVisualizator(VisualizerTypes visualizerType, DataArray dataArray, RectTransform containerRect, Settings settings) { switch (visualizerType) { case VisualizerTypes.Column: return(GetVisualyzerColumn(dataArray, containerRect, settings)); default: return(GetVisualyzerColumn(dataArray, containerRect, settings)); } }
public void Init(VisualizerTypes visualizerType, DataArray dataArray) { visualizerBase = visualizersList.GetVisualizator(visualizerType, dataArray, containerRect, settings); }