Veerendra

Mouse Click event on Node of Drag Node Chart

Recommended Posts

How do I know the X and Y Positions of a mouse click event on Node of Drag Node Chart.

I am handling Mouse Click Event using Link attribute but I need the X and Y Positions of the mouse click event so that we can openup a small popup

Share this post


Link to post
Share on other sites
Hi,

 

Please try using the method "getNodeAttribute" for obtaining the x and y co-ordinates of a node.

 

Ref.

var node_x = FusionCharts("chart1").getNodeAttribute("nodeId").x;

var node_y = FusionCharts("chart1").getNodeAttribute("nodeId").y;

 

Hope this helps

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