Jump to content
Software FX Community

Pie Chart is small after Bar Chart

Cecilia Daniels

Recommended Posts

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? 

Link to comment
Share on other sites

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 


Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...