linhung

export & clickURL problem

Recommended Posts

Hi, 

I created stackedcolumn2d and set exportEnabled : 1 & clickURL in chart attributes.

When I click export menu to export any format , it triggered export & clickURL both;

Is there any way to trigger only export menu ?

 

Thanks,

 

Share this post


Link to post
Share on other sites

Hi,

 

The "clickURL" attribute lets you to set the entire chart as a hotspot, so when a click interaction is made anywhere on the chart the provided url opens.

When you are selecting from the export menu option, a click interaction is done hence the URL opens and the chart exports as well. This is an intended behavior.

 

Alternatively, you can export the chart using the "exportChart()" API method of FusionCharts, by invoking it on a HTML button click(external to the chart) instead of the drop-down export menu selection. Refer to the below sample fiddle :

http://jsfiddle.net/nftom71j/3/

 

Thanks,

Akash.

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