Sr270
Posts: 83
Joined: Tue Aug 23, 2022 12:15 pm

Show Tooltip for all datapoints

To give you an idea, below fiddle has 500000 points, so it takes time to show tooltip when we do a mouseover on graph.
https://jsfiddle.net/7o2ngtz9/

My code has a graph displaying around 6500 points. Up To 10 graphs can be displayed on a same page based on checkbox selection. So, 10*6500.

But even a single graph with 6500 points does not show tool tip unless zoomed in. I display tooltip on mouse click instead of mouse over.
May I know why this happens and if there is any way I could show tooltip for all points without zooming in. Thank you.
User avatar
dawid.d
Posts: 807
Joined: Thu Oct 06, 2022 11:31 am

Re: Show Tooltip for all datapoints

Hi,

Thanks for contacting us with your question!

Performance depends on the client-side machine, so if you have less computing power on the machine you are using to display the chart then you will have worse performance than on a stronger device. In general, when data density is higher than the chart's pixel resolution, it is pointless to show all the points because they will overlap and will not be visible anyway - they will only consume processing power and slow rendering down. Suggested performance tips can be found in our general documentation here: https://www.highcharts.com/docs/getting ... highcharts

Do not hesitate to contact us in the future
Regards!
Dawid Draguła
Highcharts Developer

Return to “Highcharts Usage”