How to unlock ChartGrid.Series

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
bamboo
Newbie
Newbie
Posts: 32
Joined: Thu Jul 12, 2007 12:00 am

How to unlock ChartGrid.Series

Post by bamboo » Wed Feb 11, 2009 10:29 am

When using TChartGrid I first assign all the multiple series generated to my ChartGrid. All still fine.
When moving a data point (dragpoint) i set ChartGrid.Series to the series of the data point that I am moving. All still fine.
When I disable the DragPoint feature and want to see all multiple series again in the ChartGrid using ChartGrid.Chart := chartplot, the previous state remain, i.e. ChartGrid.Series := Series;

Please advise.

Thank you.

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

Post by Narcís » Wed Feb 11, 2009 11:52 am

Hi bamboo,

You can try doing this:

Code: Select all

   ChartGrid1.Series:=nil;
   ChartGrid1.Chart:=Chart1;
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

Post Reply