Page 1 of 1

TLineSeries zero/null values

Posted: Mon Jan 16, 2006 9:31 pm
by 9235705
Hi,

Is there a DBChart setting that will make TLineSeries ignore zero or null values so that the lines aren't bunched together at the top for larger Y values.

Thanks,
Barry

Posted: Tue Jan 17, 2006 10:11 am
by narcis
Hi Barry,

You may be interested in checking some examples in TeeChart features demo:

-All Features\Welcome!\Chart Styles\Standard\Fast Line\Nulls and Stairs
-Search for "Axis Labels no Weekends" example in the search tab.

TLineSeries zero/null values

Posted: Tue Jan 17, 2006 4:50 pm
by 9235705
Thanks Narcis,

Those methods won't work for me because the scale doesn't adjust.

I think what I have to do is reset the axis minimum to the minimum Y value > 0 for each series.

I could do this by looping through my clientdataset, finding the minimum positive value for each relevant column and using SetMinMax accordingly.

I could also query the database for that information.

I'm just looking for the method that will cause the least delay.

Glad to have any suggestions.

Barry

TLineSeries zero/null values

Posted: Tue Jan 17, 2006 8:23 pm
by 9235705
Actually I can get the minimum value with with the clientdataset aggregates function. -Not a problem.
Thanks