Create Comparison graph from a table

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
ChainSmokinCodeWriter
Newbie
Newbie
Posts: 6
Joined: Fri Oct 10, 2003 4:00 am
Location: new zealand
Contact:

Create Comparison graph from a table

Post by ChainSmokinCodeWriter » Wed Nov 19, 2003 9:01 pm

I have a table contain huge plot data. The plots are grouped by plotID.
I'd like to be able to dynamically add and remove series into one DBchart to compare each plots.
My solution is to create queries for each plots then create series based on that query.
I think there's much better way than that, could anyone tell me how? :?

Marjan
Site Admin
Site Admin
Posts: 745
Joined: Fri Nov 07, 2003 5:00 am
Location: Slovenia
Contact:

Post by Marjan » Thu Nov 20, 2003 6:42 am

Hi.

You could use one of the cross tab features included in TeeChart (check the demo to see how it works), but I think your solution is also quite good. Well, you could pre-create specific number of series and then display/hide them by setting the TChartSeries.Active property, but freeing and re-adding series as new query is created is also good.

Post Reply