How to make Custom Objects in TeeChart?

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
report
Newbie
Newbie
Posts: 10
Joined: Fri Oct 21, 2005 4:00 am

How to make Custom Objects in TeeChart?

Post by report » Thu Aug 23, 2007 4:09 pm

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

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

Post by Narcís » Fri Aug 24, 2007 8:01 am

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.
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

report
Newbie
Newbie
Posts: 10
Joined: Fri Oct 21, 2005 4:00 am

Post by report » Fri Aug 24, 2007 11:52 am

Thxs!
It is working perfectly!

lol

Muito Obrigado! (Thank you very much!)

Post Reply