Page 1 of 1

Tee.ToolTip for canvas graphics

Posted: Tue Dec 03, 2024 4:42 pm
by 15695569
Hello,

I am wondering if it is possible to use Tee.ToolTip class to display tooltips for canvas graphics instead of the chart series? I have my series points set to have a size of 0, and am using Tee.Format.rectangle() for each series point instead.

Thanks

Re: Tee.ToolTip for canvas graphics

Posted: Tue Dec 03, 2024 5:34 pm
by Marc
Hello,

Checking if I have understood correctly, Your chart isn't showing tooltips over points as the chart has no points? You wish the same result when passing over the custom rectangles you have designed?

One simple approach might be to keep the original pointers (assuming that they are at the same location as the current rectangles) and simply make them transparent, transparent pen, etc.

I offer up the thought too, of keeping the pointers and setting them to a shape that nearer matches your rectangles (see https://steema.com/files/public/teechar ... /point.htm) ... that is if the custom rectangles are all the same size.

With thanks,
Regards,
Marc

Re: Tee.ToolTip for canvas graphics

Posted: Tue Dec 03, 2024 9:14 pm
by 15695569
Hi Marc,

Is it possible to set have different pointer sizes for a series? I believe this would work if I could set the pointer.HorizSize and VertSize for each data point. Is it also possible have the pointer size set as a double instead of int?

Thanks

Re: Tee.ToolTip for canvas graphics

Posted: Thu Dec 05, 2024 9:56 am
by Marc
Hello,

You could use a Bubble Series:

example:
https://www.steema.com/files/public/tee ... bubble.htm

Regards,
Marc