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
Written by 小叮噹文青
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ui
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#