Hi Support,
I used a ChartGrid to display the values of the Chart. See the sample:
Received ChartGrid.zip Content Type application/x-zip-compressed Length 10810
There is only the first value displayed in the grid even if I add more values. What´s wrong there?
Greetz Dominik
dynamic update of ChartGrid ?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Dominik,
Implementing your example's button code like below works fine here.
Implementing your example's button code like below works fine here.
Code: Select all
procedure TForm1.Button1Click(Sender: TObject);
begin
Chart1[0].AddY(random(100));
ChartGrid1.Series := Series1;
end;
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
HI Narcis,
And now I see only the first Series in the Grid. And what I need is to see all series in the grid ...
Ok that works with one series. But in a common case we have several series like this:Implementing your example's button code like below works fine here.
Code: Select all
Chart1[0].AddY(random(100));
Chart1[1].AddY(random(100));
Chart1[2].AddY(random(100));
Chart1[3].AddY(random(100));
Chart1[4].AddY(random(100));
ChartGrid1.Series := Chart1[0];
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Dominik,
Ok, I found that reassigning TChartGrid's Chart updates it:
Anyway, I've added the issue to the list (TV52013694) to be investigated.
Ok, I found that reassigning TChartGrid's Chart updates it:
Code: Select all
procedure TForm1.Button1Click(Sender: TObject);
begin
Chart1[0].AddY(random(100));
Chart1[1].AddY(random(100));
Chart1[2].AddY(random(100));
Chart1[3].AddY(random(100));
Chart1[4].AddY(random(100));
ChartGrid1.Chart := Chart1;
end;
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |