chanr1th
Posts: 5
Joined: Wed May 04, 2022 4:02 am

Pivot Points indicator tooltip

Hello,

Is there any way to show a tooltip for the Pivot Points indicator? I want to show the value of R2, R1, P, S1, S2.

Thanks.
hubert.k
Posts: 1164
Joined: Mon Apr 11, 2022 11:48 am

Re: Pivot Points indicator tooltip

Hello chanr1th!
We appreciate you reaching out to us!

Yes, you can show a tooltip for Pivot Points indicator. Pivot Points series has a turned off by default enableMouseTracking, so you have to set this property to true and then you can format your tooltip of this series as you would like to. I have prepared a simple demo for you, please check it below.

Demo: https://jsfiddle.net/BlackLabel/npfxzjst/
API Reference: https://api.highcharts.com/highstock/pl ... ts.tooltip

Feel free to ask any further questions!
Kind regards!
Hubert Kozik
Highcharts Developer
chanr1th
Posts: 5
Joined: Wed May 04, 2022 4:02 am

Re: Pivot Points indicator tooltip

Hello hubert.k,

I don't see pivotpoints tooltip showing in your Demo. I set the property "enableMouseTracking: true" in my chart, but still no tooltip for Pivotpoints as well. Do you have any idea?

Thank for you support.
hubert.k
Posts: 1164
Joined: Mon Apr 11, 2022 11:48 am

Re: Pivot Points indicator tooltip

chanr1th,
I have double-checked my demo and the tooltip shows if the mouse is over the pivot points (e.g. in my demo R2, R1, P, S1, S2). I am attaching a screenshot below.
pivot_points_screenshot.png
pivot_points_screenshot.png (163.59 KiB) Viewed 423 times
If you have the tooltip enabled globally it should work by setting the enableMouseTracking to true on pivotpoints series. Could you reproduce the issue in an online editor that I could work on? You can use my demo from the previous post.

I am looking for your response.
Kind regards!
Hubert Kozik
Highcharts Developer
chanr1th
Posts: 5
Joined: Wed May 04, 2022 4:02 am

Re: Pivot Points indicator tooltip

hubert.k,

I don't know what cause that problem. I am using Chrome Version 103.0.5060.114 on Windows.
Please help me check this:

Image

Thank you,
hubert.k
Posts: 1164
Joined: Mon Apr 11, 2022 11:48 am

Re: Pivot Points indicator tooltip

chanr1th,
You have to hover the mouse directly on the labels of Pivot Points. You can compare our screenshots and see that my crosshair is directly under pivot points, and your mouse is a little bit more to the left (hovering points of series from the left side of pivot points).

GIF: https://gfycat.com/shoddygrandcoral

Kind regards!
Hubert Kozik
Highcharts Developer

Return to “Highcharts Stock”