Satya Tvv

Hand icon on scatter chart data points

Recommended Posts

Hi,

Is there any availability of adding hand icon at scatter chart data points when we hover on each point of the data points.

Please help me, I have saw it for pie chart there as following:


      "renderComplete": function(eventObj, dataObj) {

        Array.from($("[class$=pie]")).forEach(function(elm) {
          Array.from($(elm).children()).forEach(function(path) {
            path.style.cursor = 'pointer';
          })
        })
      }

There I tried changing the class "pie" to "scatter" still it's not working.

Share this post


Link to post
Share on other sites

Hi Satya,

 

Natively FusionCharts does not support displaying the hand tool on hovering the plots on the charts.

You could achieve it by setting the style by manipulating the SVG class of the rendered chart accordingly. So, as the SVG structure vary based on for each chart types, you need to catch the class as in the below sample fiddle for Scatter chart :

http://jsfiddle.net/152ydxjw/3/

Thanks,

Akash.

Share this post


Link to post
Share on other sites

Hi Akash,

Thanks for the reply, I was using the fusion charts v3.12 there I am not able to find the svc chart element for scatter charts, I tried with "Scatter".

Now, upgraded the fusion charts version and added the above code, now able to see the hand icon.

Thanks,

Satya.

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