Legend
Posted: Tue Sep 04, 2012 7:41 pm
I have a series in a web chart. It shows the data for a Region and all the sub-regions. The actual color of the bar is light blue and if the data is that of the region, we change the color to dark blue as below,
WebChart1.Chart[0].Add(data1, data2, System.Drawing.Color.Blue);
Both of these colors have gradient in it. How can we add a legend which shows a light blue in a rectangle with the text Sub Region next to it and dark blue with Region.
Thanks.
WebChart1.Chart[0].Add(data1, data2, System.Drawing.Color.Blue);
Both of these colors have gradient in it. How can we add a legend which shows a light blue in a rectangle with the text Sub Region next to it and dark blue with Region.
Thanks.