Hi,
I've raised this issue before -please have patience.
******** (from TeeChart Help)
Description
If Axis.Automatic property is True, then the Maximum and Minimum values for the Axis will be automatically calculated based on all Axis dependent Series.
********
With TDBChart if the data has zeroes or nulls TLineSeries lines will pack towards the top. I can get around this by cycling through my data to find the lowest value greater > 0 and using SetMinMax to reset the scale. But this gets complicated when you're changing the datasets alot. It also causes delays. I'm looking for a faster solution.
Am wondering is there is some way to 'tweak' the Axis.Automatic property so that it calculates only on values > zero?
Thanks,
Barry
TChartAxis.Automatic
Hi Barry,
for the moment the only way I can think of is as you said, by iterating through all the Series values and check whether these are Nulls or not, and then use the SetMinMax method to change the scales.
I've added this issue on our wish list to be considered for further releases (add an option to do this automatically when axis scales are automatic).
for the moment the only way I can think of is as you said, by iterating through all the Series values and check whether these are Nulls or not, and then use the SetMinMax method to change the scales.
I've added this issue on our wish list to be considered for further releases (add an option to do this automatically when axis scales are automatic).
Pep Jorge
http://support.steema.com
http://support.steema.com