FusionCharts Forum: Dragnode chart link attribute - FusionCharts Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Dragnode chart link attribute Not functioning

#1 User is offline   shilpashivapuram 

  • Forum Newbie
  • Group: Members
  • Posts: 4
  • Joined: 14-May 09

Posted 14 May 2009 - 08:04 AM

I was trying the link attribute of the dataset in the dragnode chart... but it doesnt seem to be working. I was trying the same examples given as part of the evaluation.
0

Other Replies To This Topic

#2 User is offline   Rahul Kumar 

  • Supreme Being
  • Group: Moderators
  • Posts: 1041
  • Joined: 18-March 08

Posted 15 May 2009 - 02:58 AM

Hi,
 
I'm afraid, link attribute works with <set> element not with <dataset> element.

Regards,
Rahul Kumar
Software Engineer

A byte of magic.

 
0

Other Replies To This Topic

#3 User is offline   kokon 

  • Forum Newbie
  • Group: Members
  • Posts: 4
  • Joined: 13-December 08

Posted 20 July 2009 - 01:45 PM

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):































0

Other Replies To This Topic

#4 User is offline   Rajroop 

  • FusionCharts Team
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1803
  • Joined: 19-May 09

Posted 20 July 2009 - 11:37 PM

Hello Kokon,



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



Looking forward to your reply. :)
Regards,

Rajroop Bhaduri

FusionCharts Team

Help us improve our documentation with your precious feedback at:
http://documentation...sioncharts.com/

Follow us @Twitter
0

Other Replies To This Topic

#5 User is offline   kokon 

  • Forum Newbie
  • Group: Members
  • Posts: 4
  • Joined: 13-December 08

Posted 21 July 2009 - 05:42 PM

Here you go. I didn't compress it, since it's pretty small.



Thanks, Eko.

Attached File(s)

  • Attached File  junk.txt (1.73K)
    Number of downloads: 40

0

Other Replies To This Topic

#6 User is offline   Rajroop 

  • FusionCharts Team
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1803
  • Joined: 19-May 09

Posted 22 July 2009 - 01:20 AM

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.
Regards,

Rajroop Bhaduri

FusionCharts Team

Help us improve our documentation with your precious feedback at:
http://documentation...sioncharts.com/

Follow us @Twitter
0

Other Replies To This Topic

#7 User is offline   kokon 

  • Forum Newbie
  • Group: Members
  • Posts: 4
  • Joined: 13-December 08

Posted 23 July 2009 - 02:16 PM

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.
0

Other Replies To This Topic

#8 User is offline   saptarshi 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 357
  • Joined: 21-May 09

Posted 25 July 2009 - 12:58 AM

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.
Regards,

Saptarshi Chakraborty



Follow us on Twitter!:w00t:
0

Other Replies To This Topic

#9 User is offline   kokon 

  • Forum Newbie
  • Group: Members
  • Posts: 4
  • Joined: 13-December 08

Posted 30 July 2009 - 06:17 PM

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®isterWithJS=1&scaleMode=noScale&lang=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.
0

Other Replies To This Topic

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic