Page 1 of 1

TeeChart Cursor Tool

Posted: Fri Jan 29, 2010 3:47 pm
by 8464885
Is there a label for the CursorTool so that the XValue, for example, can be displayed as the cursor is moved?

Re: TeeChart Cursor Tool

Posted: Fri Jan 29, 2010 7:30 pm
by narcis
Hi rsites,

Yes, you can do what Yeray suggested here. An alternative would be custom text drawing.

Hope this helps!

Re: TeeChart Cursor Tool

Posted: Fri Jan 29, 2010 8:57 pm
by 8464885
When I compile in Borland Builder4, I get the error message "Text is not a member of TCursorTool" from the line of code "ChartTool3->Text = strg;" I am using version 6 so I'm wondering if this was added later or if I'm doing something wrong.

Re: TeeChart Cursor Tool

Posted: Mon Feb 01, 2010 8:34 am
by yeray
Hi rsites,

Are you sure that your ChartTool3 is an annotation tool?

Re: TeeChart Cursor Tool

Posted: Tue Feb 02, 2010 1:16 pm
by 8464885
Sorry, my bad. I did not notice it was an annotation tool at first. Works beautifully.

Re: TeeChart Cursor Tool

Posted: Tue Feb 02, 2010 3:21 pm
by yeray
Hi rsites,

I'm glad to hear that.