Is there any way to change bar chart background color? Well, at least in an ellegant way? I think browsing through HTML elements I may achieve that but I'm looking for a neater solution.
This may help u to solve this problem chartArea.BackColor = Color.FromArgb(255, 255, 255); chartArea.BackSecondaryColor = Color.FromArgb(220, 220, 220); chartArea.BackGradientStyle = GradientStyle.TopBottom; http://forums.asp.net/p/1656335/4315304.aspx/1?Re%20Chart%20transparency%20and%20text%20quality
Don't forget to click "Mark as Answer" on the post that helped you.
filipinho
0 Points
3 Posts
Bar chart background color
Feb 28, 2013 03:30 AM|LINK
Is there any way to change bar chart background color? Well, at least in an ellegant way? I think browsing through HTML elements I may achieve that but I'm looking for a neater solution.
Thanks in advance.
Milind986
Participant
766 Points
161 Posts
Re: Bar chart background color
Feb 28, 2013 09:14 AM|LINK
My Blog
filipinho
0 Points
3 Posts
Re: Bar chart background color
Feb 28, 2013 10:29 AM|LINK
Hi Milind, thanks for the answer but does Barchart (<ajaxToolkit:BarChart />) contain a ChartArea property on it? Thanks again.
Milind986
Participant
766 Points
161 Posts
Re: Bar chart background color
Feb 28, 2013 11:40 AM|LINK
Hi Filipinho,
The above solution is for MS chart.
My Blog
filipinho
0 Points
3 Posts
Re: Bar chart background color
Feb 28, 2013 12:32 PM|LINK
My bad. I thought it was based on Ajax Toolkit BarChart component.
I'll download the latest MS Chart package as soon as I arrive home then I'll let you know.
chetan.sarod...
All-Star
65819 Points
11163 Posts
Re: Bar chart background color
Mar 01, 2013 02:48 AM|LINK
Refer this
http://stackoverflow.com/questions/1241986/how-do-i-change-the-background-color-of-an-asp-net-chart-control
http://forums.asp.net/t/1828076.aspx/1
http://forums.asp.net/t/1652369.aspx/1
http://forums.asp.net/t/1880020.aspx/1
Senior Software Engineer,
Approva Systems Pvt Ltd, Pune, India.