User (Legacy) Posted January 10, 2005 Report Share Posted January 10, 2005 If I send a series {4,5,6} to the chart, the autoscale uses a step of 1. If I send a series {1,2,3} to the chart, the autoscale uses a step of .4. If I send both series, I get an auto step of 1. Of course, I like the step of 1 that is calculated, and I further remove the Y label decimals when this occurs. Looks good. Is this .4 step a bug that has been fixed (I'm using trial 6.2.1342.0)? Or is there some other setting I could make so that the autoscaling tends more toward integers? Thanks, Greg Link to comment Share on other sites More sharing options...
Software FX Posted January 10, 2005 Report Share Posted January 10, 2005 The Step is chosen base on the Min and Max, the space available and the axis formatting. The Min and Max are changing as you pass one series, another or both and therefore the Step calculation is being affected. If you start by setting the Y-Axis number of decimals to zero (prior to setting your data), we will always chose a step that has no decimals (your Min and Max must be integers as well or they will be rounded after data is passed). You can also fix the step by assigning: chart.AxisY.Step = 1; -- FP Software FX Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.