I am using a chart with tpointseries - what I would like to do is be able to select a range of points by dragging and then move then into another series. {D2007, Chart pro}
I have several groups of data defined which are plotted as separate series. I need to be able to let the user change which groups the data belong to graphically.
I can do it point by point using a Chartlistbox
if series <> form2.ChartListBox1.SelectedSeries then
begin
TempX:= series.XValue[ValueIndex];
TempY:= Series.YValue[ValueIndex];
form2.ChartListBox1.SelectedSeries.AddXY(tempX, TempY);
Series.Delete(ValueIndex);
end;
Selecting a range of points with the mouse
-
- Newbie
- Posts: 58
- Joined: Mon May 17, 2004 4:00 am
- Contact:
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Richard,
You could try doing something as the options discussed in this thread. It is a TeeChart for .NET topic but the same principles are applicable to TeeChart Pro VCL.
You could try doing something as the options discussed in this thread. It is a TeeChart for .NET topic but the same principles are applicable to TeeChart Pro VCL.
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 |
-
- Newbie
- Posts: 58
- Joined: Mon May 17, 2004 4:00 am
- Contact:
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Richard,
You're welcome. I'm glad to hear that helped.
In case you have problems translating C# code to Delphi you can try using Borland's Babel Client.
You're welcome. I'm glad to hear that helped.
In case you have problems translating C# code to Delphi you can try using Borland's Babel Client.
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 |