Click here to Skip to main content
16,021,288 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

Please i am currently developing an application where i have designated a button for changing the chart type. but after clicking the button, the chart image does not show. here is the code for changing chart type i used;

C#
Chart1.Series["Series1"].ChartType = SeriesChartType.Bar;


Also, i have designated a button for removing or showing the gridlines;
C#
Chart1.ChartAreas[0].AxisX.MajorGrid.Enabled = true;
            Chart1.ChartAreas[0].AxisY.MajorGrid.Enabled = true;

but still it's not showing, please help me. Thanks
Chidi
Posted

1 solution

Hi,

Visit below link and download, install the chart control package, you will get lots of chart controls with source code and documentation.. i am sure you will get solution for your problem which you have mention above..

http://www.microsoft.com/en-in/download/details.aspx?id=14422[^]
 
Share this answer
 
Comments
Member 10920447 20-Aug-14 7:58am    
I already have the chart control as i am using asp.net 4.0 and the chart shows initially until you click the button for changing the chart type or showing the gridlines.
Thanks

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900