Sign in to follow this  
alkeksibus

Y Axis Labels As Hyperlinks Possible ?

Recommended Posts

I've just done my first Bar2D drill-down chart but I now wonder

if it was possible to make the y-axis labels become a hyperlink,

like label='< a href="localhost/detail.php?y=34" > D34 </a>'

to link to a different drilldown-page than the data bar link= attribute.

But this replies me an "Invalid XML Data" and

I did not find that issue in the docs or forum so far .. any ideas ?

 

regards+thanks in advance

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Welcome to FusionCharts Forum!smile.gif

 

First of all, we would like to thank you for showing interest in FusionCharts.

 

Please find a sample workaround attached for your reference.

 

Hope this helps.smile.gif

CategoryLink.xml

Share this post


Link to post
Share on other sites

Hi,

 

I am afraid, the links in the labels using STYLES would not work when the "lableDisplay" attribute is set to 'ROTATE' mode and "slantLabels='1' " in the <chart> element. Please remove them in order to make the labels behave as links.

 

Hope this helps. :)

Share this post


Link to post
Share on other sites

Thanks for quick reply,

 

Just to update you i have removed "labelDisplay='Rotate' slantLabels='1'" from <chart>, now it is showing the Labels as Links, But on click it is not launching the link.

 

FYI: I have attached the xml file.

 

Thanks,

Rajesh.

 

Hi,

 

I am afraid, the links in the labels using STYLES would not work when the "lableDisplay" attribute is set to 'ROTATE' mode and "slantLabels='1' " in the <chart> element. Please remove them in order to make the labels behave as links.

 

 

 

Hope this helps. :)

 

 

dashboard.xml

Share this post


Link to post
Share on other sites

Is there any workaround or solution to resolve this. Please let me know if there is any solution for this.

 

Thanks for understanding,

Thanks,

Rajesh

 

Thanks for quick reply,

 

Just to update you i have removed "labelDisplay='Rotate' slantLabels='1'" from <chart>, now it is showing the Labels as Links, But on click it is not launching the link.

 

FYI: I have attached the xml file.

 

Thanks,

Rajesh.

 

 

 

 

 

Share this post


Link to post
Share on other sites

Hi,

 

I am afraid, I am unable to replicate the issue. Rendering a chart using the XML file attached, the <category> links are enabled and while clicking it loads the webpage mentioned.

 

Could you please verify whether you've set "registerWithJS" flag to 1?

 

Basically, you need to set the last parameter in the construction function of the chart SWF to 1:

var myChart = new FusionCharts("MSBar2D.swf", "myChartId", "750", "400", "0", "1");

 

Also, please note that the Flash Player framework security settings do not allow Charts/Flash Objects to JavaScript interaction, unless otherwise specifically set for that local file system (C: , D:). To specifically set the Flash player security settings, i.e. to run the file from a local system, please refer the following link at:

http://www.fusioncharts.com/Tools/FlashPlayerSecuritySetup/HowToSetup.html

 

I hope this helps.

 

 

 

Is there any workaround or solution to resolve this. Please let me know if there is any solution for this.

 

Thanks for understanding,

Thanks,

Rajesh

 

 

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