TLineSeries zero/null values

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
bcmiller
Newbie
Newbie
Posts: 30
Joined: Mon Jan 24, 2005 5:00 am

TLineSeries zero/null values

Post by bcmiller » Mon Jan 16, 2006 9:31 pm

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Jan 17, 2006 10:11 am

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

bcmiller
Newbie
Newbie
Posts: 30
Joined: Mon Jan 24, 2005 5:00 am

TLineSeries zero/null values

Post by bcmiller » Tue Jan 17, 2006 4:50 pm

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

bcmiller
Newbie
Newbie
Posts: 30
Joined: Mon Jan 24, 2005 5:00 am

TLineSeries zero/null values

Post by bcmiller » Tue Jan 17, 2006 8:23 pm

Actually I can get the minimum value with with the clientdataset aggregates function. -Not a problem.
Thanks

Post Reply