Hi Everybody!
I'm using V7 with delphi and I'm needing to do objects in the TeeChart.
What i'm trying to do is :
When the user do a diagonal line, plot some other horizontal lines automaticly...
and when drag the line, all the other lines need to move too...
Is there a way to do that?
Thxs
How to make Custom Objects in TeeChart?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi report,
Are you planning to do this using TDrawLineTool? If so you could use TeeChart's OnAfterDraw event to custom draw on TeeChart's canvas the other lines or also use tool's events. You'll find more information on custom drawing at Tutorial 13 - Custom drawing on the Chart Panel. You'll find the tutorials at TeeChart's program group.
You may also be interested on how to drag a full series as shown here. This is a .NET example but the same applies to TeeChart VCL.
If you have problems implementing that please let us know and also give us some more details about what are you exactly trying to achieve.
Are you planning to do this using TDrawLineTool? If so you could use TeeChart's OnAfterDraw event to custom draw on TeeChart's canvas the other lines or also use tool's events. You'll find more information on custom drawing at Tutorial 13 - Custom drawing on the Chart Panel. You'll find the tutorials at TeeChart's program group.
You may also be interested on how to drag a full series as shown here. This is a .NET example but the same applies to TeeChart VCL.
If you have problems implementing that please let us know and also give us some more details about what are you exactly trying to achieve.
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 |