Tee.ToolTip for canvas graphics

TeeChart for JavaScript for the HTML5 Canvas
Post Reply
dynamicrisk
Newbie
Newbie
Posts: 26
Joined: Thu Apr 06, 2023 12:00 am

Tee.ToolTip for canvas graphics

Post by dynamicrisk » Tue Dec 03, 2024 4:42 pm

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

Marc
Site Admin
Site Admin
Posts: 1274
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona
Contact:

Re: Tee.ToolTip for canvas graphics

Post by Marc » Tue Dec 03, 2024 5:34 pm

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

dynamicrisk
Newbie
Newbie
Posts: 26
Joined: Thu Apr 06, 2023 12:00 am

Re: Tee.ToolTip for canvas graphics

Post by dynamicrisk » Tue Dec 03, 2024 9:14 pm

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

Marc
Site Admin
Site Admin
Posts: 1274
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona
Contact:

Re: Tee.ToolTip for canvas graphics

Post by Marc » Thu Dec 05, 2024 9:56 am

Hello,

You could use a Bubble Series:

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

Regards,
Marc
Steema Support

Post Reply