Sign in to follow this  
ultifinal

Basic Questions on Charts

Recommended Posts

I would like to know the following:

 

1) Can I select a few bubbles from the bubble chart and call a function on them?

 

2) Can I fire an event when I click on a bubble in the bubble chart?

 

3) When I mouseover / rollover a bubble, can I get the data about the bubble and call my own javascript function to do some processing?

 

 

 

Regards,

 

Vaibhav.

Share this post


Link to post
Share on other sites

Hi Vaibhav,

Welcome to FusionCharts Forum. :)

I would like to know the following:

1) Can I select a few bubbles from the bubble chart and call a function on them?

Please try mentioning the attribute "link" in the <set> element of the desired bubble which you wish should perform the function.

2) Can I fire an event when I click on a bubble in the bubble chart?

3) When I mouseover / rollover a bubble, can I get the data about the bubble and call my own javascript function to do some processing?

For the above queries, please take a look into our Drill Down charts. This allows the using of JavaScript funtions as links with a on-click event on a bubble.

Please refer to the following link for further details on the above:

Ref.- http://www.fusioncharts.com/docs/Contents/DrillDown/JavaScript.html

Hope this helps. :)

 

Share this post


Link to post
Share on other sites

Thanks Sanjukta for your tip regarding the Drill down charts. I shall have a look at it today.

 

 

 

Going back to my first questions "Can I select a few bubbles from the bubble chart and call a function on them?".

 

The "link" attribute would allow me to call a function on only one bubble.

 

I would like to call a function on say 5 bubbles simultaneously.

 

Is it possible?

Share this post


Link to post
Share on other sites

Hi,

You are welcome. :)

The "link" attribute would allow me to call a function on only one bubble.

I would like to call a function on say 5 bubbles simultaneously.

Is it possible?

FusionCharts natively does not support this functionality, as of now. :)

But as a work-around, you can construct one batch function grouping all the bubbles from which you want to call them.

For this, you need to provide the same link in the "link" attribute in the <set> element of those bubbles from which the same function should be performed.

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
Sign in to follow this