Sign in to follow this  
Pallav

Drill-down in multi-series chart

Recommended Posts

In a multi-series chart, e.g., stacked column, how do you create a link in a stacked column that sends the complete data of the particular stacked column: category and all data values for that category?

 

All the online examples are for simple charts where the label and value are in the same tag.

Share this post


Link to post
Share on other sites

The link can be alloted in the same way: <set .... link='YourLink.ext?...' />

If you need to send information from the link to your page, you'll need to append the info at the end of link (as querystring).

Share this post


Link to post
Share on other sites

I think I have the same question.  If I add the javascript code to the <set> tag in the xml, I have to click the exact point on the line.  I am using a stacked area 2D chart.  I'd like to be able to click on the entire colored area instead of the point on the line.  I tried adding the link to the <dataset> tag instead, but that did not work.  Any suggestions?  Thanks...

<dataset seriesname='My Series Name' link='JavaScript:myJS("Hong Kong, 235");'>

<set value='771569' />

<set value='775795' />

<set value='777708' />

<set value='777213' />

</dataset>

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