Chart grid

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Herman
Newbie
Newbie
Posts: 56
Joined: Tue Dec 07, 2004 5:00 am

Chart grid

Post by Herman » Wed Dec 29, 2004 11:39 am

1. I connect a chart grid to a chart.
and the chart grid automatically shows all the series inside a chart.
If i have 3 fast line series and 2 point series.
And i just want to show the point series data. How to do it?

2. How to refresh the chart grid?
I have another chart with 1 series, and it is connected with a chart grid.
but it doesn't show the chart grid value?
I have try to call update. But still not working.

3. Is is possible to short the data in chart grid.
for example: series 1 data is located in column 1 of chart grid.
and i want to sort it from minimum to maximum

Thank you

Herman

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Thu Dec 30, 2004 9:32 am

Hi Herman,

1) If you want to keep some Series in the Chart and hide their values in the ChartGrid you will have to set the Width of the non desired columns as a trick. Something like this :
ChartGrid1.ColWidths[2]:=0;

2) mmm..Have you tried reasigning the Chart again ?
Chartgrid1.Chart := Chart1;

3. I'm afraid there's no way to do this automatically.

Herman
Newbie
Newbie
Posts: 56
Joined: Tue Dec 07, 2004 5:00 am

Post by Herman » Thu Dec 30, 2004 10:56 am

Hi Pep,

If I sort, the chart grid.
Is it gonna change the series?
I mean i see an example on demo.
User can modify the value in the chart, and the series will be change.

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Mon Jan 03, 2005 10:51 am

Hi Herman,
If I sort, the chart grid.
Is it gonna change the series?
I mean i see an example on demo.
User can modify the value in the chart, and the series will be change.
Changing the values in the Chart Grid the Chart will also change.

Post Reply