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. 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.