Jump to content
Software FX Community

Left Margin with different length X-Axis labels


kdarby

Recommended Posts

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...