Hi,
I have a TChart that is used to display trend history of various data. Bottom axis is a time axis, data are divided into multiple series. Now I also need to visualize certain events that occured during the history.
So, I need to be able to draw a vertical line at certain date/time across the whole chart and somewhere nearby that line (preferably above the chart so that it does not overlap the data series) should be a small multi-line description. There are multiple such event occurences throughout the trend history. There is also a requirement that when the chart gets either panned or zoomed, both the vertical line and the associated description should follow that movement.
My question is obvious. Can this be (easily) achieved with TeeChart?
Thanks in advance!
Floating vertical line with a description
Floating vertical line with a description
Ivo Bauer [OZM Research]
Hi, ibauer!
It's rather difficult to reach this page on steema web-site :(I found it long time ago) , but it has an example giving an idea about solving your task:
http://www.steema.com/support/Tutorials ... l_0013.htm
It's rather difficult to reach this page on steema web-site :(I found it long time ago) , but it has an example giving an idea about solving your task:
http://www.steema.com/support/Tutorials ... l_0013.htm
Regards, Alexander
=================
TeeChart Pro v8.05, Delphi 5 & Turbo Delphi Professional for Win32., Delphi & C++Builder 2009
=================
TeeChart Pro v8.05, Delphi 5 & Turbo Delphi Professional for Win32., Delphi & C++Builder 2009
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi ibauer,
Yesterday I made an example of scrolling and panning annotations set in a custom position. You can find it here.
To achieve what you request I'd recommend you to use ColorLine tools for the lines and Annotation or Rectangle tools for the text. Then you should have to set the position of those elements to something relative to the chart (series, axes, ...), as shown in the example.
Hope this helps!
Yesterday I made an example of scrolling and panning annotations set in a custom position. You can find it here.
To achieve what you request I'd recommend you to use ColorLine tools for the lines and Annotation or Rectangle tools for the text. Then you should have to set the position of those elements to something relative to the chart (series, axes, ...), as shown in the example.
Hope this helps!
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 |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Ivo,
Better late then never . Anyway, I'm glad to hear that helped!
Better late then never . Anyway, I'm glad to hear that helped!
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 |