Last Updated: February 25, 2016
·
770
· hjwu

Change Series.View.Color

By default, all series.view.color is color.empty, then view2.color = view1.color will not work!!

However view1.color will be listed in PaletteEntry

Then we can use the following code

PaletteEntry[] palette = WebChartControl1.GetPaletteEntries(WebChartControl1.Series.Count);
Color seriesColor = palette[<SeriesIndex>].Color;

Reference : Set series colors