Jump to content
Software FX Community

question concerning gap widths


User (Legacy)
 Share

Recommended Posts

I am just wondering if there is a way in chartfx client/server 5 to be able

to allow chartfx to reset the gap widths if I set them manually.

The problem that I have is with having chartfx draw itself into a passed in

device context via the Paint() method. I allow our uses to change the chart

type. If they change to a pie chart type I alter the gap widths in order to

have the pie chart take up all of the space available to it. The problem is

when I switch back to a bar or line chart and I have dates being output on

the x-axis( which is also display at an angle of roughly 45 degrees) the

dates seem like they write themselves out of the given device context. I

don't know what the previous gap widths were, and while I could store them

I'd prefer not to. Is there a way to have chartFX recalculate the

appropriate widths to display all of the data on the axes?

Thank you.

-Mac Dyer

post-2107-13922394620999_thumb.jpg

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.

Guest
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.

 Share

×
×
  • Create New...