Cecilia Daniels Posted July 9, 2010 Report Share Posted July 9, 2010 In .net I have a form with a chart FX control. The user selects the data and can switch between display of different charts.. When I make a pie chart first everthing looks fine. But when I display a pie chart after a bar chart, the pie chart is very small. I do a .reset on the chart object, which is supposed to clear all settings, but the problem remains. How can I correct this problem? Quote Link to comment Share on other sites More sharing options...
Cecilia Daniels Posted July 9, 2010 Author Report Share Posted July 9, 2010 Quote Link to comment Share on other sites More sharing options...
Cecilia Daniels Posted July 9, 2010 Author Report Share Posted July 9, 2010 Picture below shows what is happenning. Quote Link to comment Share on other sites More sharing options...
Cecilia Daniels Posted July 9, 2010 Author Report Share Posted July 9, 2010 When creating the pie chart, I added the following code to insure that only one data series was graphed: chart1.Data.Series = 1 Not sure why it worked the first time, but now I can switch between the chart types and the pie chart always fill the screen. Hopefully this will help someone else who runs into this problem. Cecilia Daniels Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.