cmihaly

Possible To Make Stacked Columns Chart Labels Linkable?

Recommended Posts

I would like to create a linked chart or just run a Javascript method when a label on the horizontal axis of a Stacked 3D Column chart? I am using the dataplot to do this, but I want the labels to link to different axis of the report. It does not look like the category key takes a link argument and the events only seems to be there if you have a linked option. Is there a way to do this?

 

Thanks

Chris

Share this post


Link to post
Share on other sites

Hi Chris,

 

FusionCharts natively does not support this. However, you can be able to provide links and display click-able labels to hide the long links, as a work-around for the same.

Ex:

<categories>
<category label='<a href="http://www.fusioncharts.com/" target="_blank">Link in Label</a>' />
</categories>
...
<styles>
<definition>
<style name='LabelFont' type='font' font='Arial' size='12' isHTML='1' />
</definition>
<application>
<apply toObject='DATALABELS' styles='LabelFont' />
</application> 
</styles>

 

 

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