public override void SetStyle(ChartStyle style) { if (style is BarChartStyle barStyle) { _style = barStyle; base.SetStyle(style); } }
public BarChart(DataCollection data, BarChartStyle style, int width, int height) : base(data, style, width, height) { _style = style; }