Vertical and horizontal lines with text

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
dirkil
Newbie
Newbie
Posts: 4
Joined: Wed Jan 18, 2012 12:00 am

Vertical and horizontal lines with text

Post by dirkil » Tue Jul 03, 2012 6:31 am

To help people understand charts, authors often add vertical and/or horizontal lines and explaining text. The attached pictures shows such an example:
  • vertical lines ("winter", "spring", "summer", "fall")
  • horizontal line ("Freezing")
Can you please tell me, if and how this is possible with TChart?
chart.gif
chart.gif (8.46 KiB) Viewed 4649 times
Regards,
Dirk.

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Vertical and horizontal lines with text

Post by Yeray » Tue Jul 03, 2012 10:18 am

Hi Dirk,

You can use TColorLineTool(s) to draw the lines and TAnnotationTool(s) to draw the texts.
I'd suggest you to take a look at the features demo program, you'll find example of both tools in it.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

dirkil
Newbie
Newbie
Posts: 4
Joined: Wed Jan 18, 2012 12:00 am

Re: Vertical and horizontal lines with text

Post by dirkil » Wed Jul 04, 2012 5:24 am

Thank you very much.

Post Reply