Help with TMarksTipTool

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
leaf
Newbie
Newbie
Posts: 37
Joined: Fri Nov 15, 2002 12:00 am

Help with TMarksTipTool

Post by leaf » Fri Sep 23, 2005 4:21 pm

I am having problems with TMarksTipTool with TColorGridSeries. It is probably me, but just can't work through it!
UI create the tool and initialize it but it does not display the values in the hint.

Can anyone help? Here is the code I am using...
Tip := TMarksTipTool.Create(application);
Tip.Series := Chart1.Series[0];
Tip.Style := smsValue;
Tip.MouseAction := mtmMove;
Tip.MouseDelay := 500;
Tip.Active := True;

After that I should see the hint when I move the mouse over the series right? What am I missing? I have looked at the 2 examples and they are not really much help. Eventually I would like to use the event to modify the text returned.

Thanks in advance!

leaf
Newbie
Newbie
Posts: 37
Joined: Fri Nov 15, 2002 12:00 am

Post by leaf » Fri Sep 23, 2005 5:00 pm

Never Mind...I found the issue.. I needed to call Chart1.Tools.Add(Tip). After that, it all seems to work. If I am missing anything else, please let me know.

Thanks

Post Reply