mhowes Posted October 31, 2007 Report Share Posted October 31, 2007 The first question I think is simple but can't figure out how to do it. Is there a way with AutoScale set to true to get the XAxis Min to be less than 0 even if all the data starts at 0? I have a simple line chart that has tons of data right at the beginning where YAxis values increase rapidly but AutoScale is exactly what I need. The problem is too many values get bunched up right near 0 on the XAxis. I'd love to have AutoScale = true but the XAxis to begin at -.5 can I do that? thanks mike Quote Link to comment Share on other sites More sharing options...
maximop Posted November 1, 2007 Report Share Posted November 1, 2007 If you preset any of the scale values (Min, Max, Step or MinorStep) Chart FX will not recalculate the scale when new data is sent to the chart. Quote Link to comment Share on other sites More sharing options...
mhowes Posted November 1, 2007 Author Report Share Posted November 1, 2007 Is there a way to manually tell the chart to recalculate the scale when one of those scale values is set and retain that setting? thanks mike Quote Link to comment Share on other sites More sharing options...
maximop Posted November 1, 2007 Report Share Posted November 1, 2007 You can try using the AdjustScale() method of the Axis Class which is ONLY useful if the AutoScale property is disabled or you can use the RecalculateScale() method of the Chart which forces ChartFX to calculate the Min, Max, and Step for the axes. 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.