Sign in to follow this  
shilpashivapuram

Dragnode chart link attribute

Recommended Posts

It doesn't work in my case as well. I tried both the link and clickURL, both didn't make

 

any difference. Any insight?

 

 

 

 

 

Thanks, Eko.

 

 

 

My sample data (somehow this doesn't show in the forum):

 

 

 




























Share this post


Link to post
Share on other sites
Guest Rajroop

Hello Kokon,

 

 

 

Could you please attach your code in .zip format in your post?

 

 

 

Looking forward to your reply. :)

Share this post


Link to post
Share on other sites
Guest Rajroop

Greetings Kokon,

 

 

 

The Drag Node chart has a Drag mode and a Link mode, which do not work simultaneously.

 

 

 

The following function will describe this:

 

 

 

1. enableLink='<0/1>': If there are any links defined on the nodes, you can opt to start the chart in link mode (rather than dragging mode) by setting this attribute as 1.

 

 

 

Your users can, at runtime, toggle between link mode and drag mode using the right-click context menu of chart.

 

 

 

Could you please add this attribute to your <chart> element and try again?

 

 

 

I hope this helps.

Share this post


Link to post
Share on other sites

I changed the enableLink, and I saw a difference there. But instead of calling the java-script function, it reloads the chart.

 

I set the link to link='j-window.alert-"test"', and it didn't make any difference.

 

Any suggestions?

 

 

 

Thanks a lot for the help. I really appreciate it.

 

 

 

 

 

Regards, KOkon.

Share this post


Link to post
Share on other sites

Hi,

 

 

 

Could you please make sure you have the registerWithJS flag set to 1?

 

 

 

This can be done as follows:

 

 

 

var myChart = new FusionCharts("../FusionCharts/Column2D.swf", "myChartId", "500", "300", "0", "1");

 

 

 

Hope this comes of use.

Share this post


Link to post
Share on other sites

Hi,

 

 

 

Sorry for the late reply.

 

 

 

Here, I tried with the registerWithJS set to 1, and it didn't help.

 

 

 

The parameter passed to the SWF was:

 

debugMode=0&chartWidth=800&chartHeight=600&DOMId=chart1Id&registerWithJS=1&scaleMode=noScale〈=EN&dataURL=/rpc/layerconfigurator/chartdata

 

 

 

From the server log, instead of calling the java-script, it sends a HTTP request to "/j-showLayerInfo-35" instead.

 

 

 

Any other tricks?

 

 

 

Thanks a lot for the help.

 

 

 

 

 

Regards, KOkon.

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