Sign in to follow this  
brandongrant

Possible To Have Two Drill Downs For A Set?

Recommended Posts

Guest Sashibhusan

Hi,

 

Yes, you can do multiple drill downs from a single data plot by using JavaScript functions as a link.

 

What you need to do is,

>>Create a link to JavaScript function with one argument in the <set> element of your XML data. e.g. :

<set label='Hong Kong' value='235' link="JavaScript:myJS('Hong Kong');"/>

>>Then define the JavaScript function in your HTML page

>>Inside this function you can actually render the drill down charts (as parent chart renders) by checking the corresponding argument passed from the link of each data plot.

 

For more information on "How to use JavaScript functions as links", please follow the link below:

http://docs.fusioncharts.com/charts/contents/?DrillDown/JavaScript.html

 

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