Mazen Chami

Selection of HeatMap

Recommended Posts

Hello,

As we continue to evaluate FusionCharts, I was wondering if for the `heatmap` chart, is it possible to know which square was selected? I'm currently using `events.dataPlotClick` to know when an item was clicked. I would also be looking into if its possible to apply custom class to each square (cursor: pointer;), to let the user know they can click the items.

-Mazen

Share this post


Link to post
Share on other sites

Hi Mazen,

In HeatMap chart to programmatically know which item is selected you need to use the "dataplotclick" event API. To highlight the selected items you will have to use setjsondata() method every time to update the CSS of the selected item which will reduce the performance, instead of which you can use the hover attributes.

For your second query, cursor pointer will only appear when the "link" attribute is mentioned in the data object.

Sample: http://jsfiddle.net/srishti_fc/6kb5zjey/1/

Thanks,

Srishti Jaiswal

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now