07-03-2006 02:33 PM
07-05-2006 07:24 AM
07-05-2006 11:34 AM
Fortunately, this should not be too difficult to do. Basically I would approach it like this (as long as you want to only have the scale grow, if you want it to shrink back, that takes more logic and requires that you keep track of what is "on chart"):
Define two variables to hold the min and max scale values.
If the current value is more negative than the min, set min to that value, change the scale minimum.
Else, if the current value is more positive than the max, set max to that value, change the scale maximum.
Else do nothing.
07-06-2006 08:34 AM