kdarby Posted April 16, 2008 Report Share Posted April 16, 2008 I use the same chart for several different sets of data. When the user switches from a set with long text labels (X-Axis) to one with short text labels they get a large margin on the left. Below is 3 screenshots, the 1st and last the same chart that has changed when the middle shot has been selected in between. Is there a way of forcing the chart to resize the space it allows for the X-Axis labels? Thanks. Quote Link to comment Share on other sites More sharing options...
maried Posted April 17, 2008 Report Share Posted April 17, 2008 I can't replicate the issue. After changing a chart with long x-axis labels to a chart with short x-axis labels, the chart drawing area is recalculated again. Please try the following: chart1.UpdateSizeNow(); // call this after assigning the x-axis labels Also, make sure you have the latest service pack of Chartfx 7 installed. http://support.softwarefx.com/ProductBase.aspx?Product=CfxNet70 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.