Nikunj14357
Posts: 37
Joined: Tue May 31, 2022 11:22 am

How to show card on Highchart treemap Hover?

https://finviz.com/map.ashx

I am trying to create treemap like this where on hover I can show card with info init.
kamil.k
Posts: 458
Joined: Thu Oct 06, 2022 12:49 pm

Re: How to show card on Highchart treemap Hover?

Hello there,

Thanks for contacting us again!

You can simply achieve that by using a tooltip with tooltip.followPointer property. To adjust the tooltip's styles and content, you should use the tooltip.pointFormat property optionally combined with tooltip.useHTML property to render the HTML tags instead of SVGs. Alternatively, you can use the tooltip.pointFormatter property depending on your needs.

Take a look at the demo for better visualization: https://jsfiddle.net/BlackLabel/f5ys8wmk/

Let me know if that was what you were looking for,
Kind Regards!
Kamil Kubik
Highcharts Developer

Return to “Highcharts Usage”