Symbols on a timeline...

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
bingo72
Newbie
Newbie
Posts: 42
Joined: Sun Aug 10, 2003 4:00 am
Location: Austria

Symbols on a timeline...

Post by bingo72 » Mon Oct 30, 2006 1:11 pm

Hello Steema-Experts!!

I use a Tee-Chart where the x-axis is my timeline. In some situations I want to set trackmarks on the x-axis. These trackmarks should be little symbols which I have created before (some little gifs or something else).
When I click on one of these symbols than the chart should be show the values beginning at the moment where the symbol was set.
It would be nice when I can delete a symbol when I pull the symbol outside of the chart.
Have anyone an idea how I can realize this??

Happy for any help!! :)

Bye Thomas

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Wed Nov 08, 2006 10:41 am

Hi Thomas,

one way will be to draw your own symbols to the Chart Canvas following the techniques outlined in "Tutorial 13 - Custom drawing on the Chart Panel". But will be a little complicate when you've to remove them.
Another technique would be to use the TRectangleTool to draw the symbols, setting an image into the tool. This will allow you to add and remove them easily.

Post Reply