FusionCharts Forum: Drilldown link for javascript not working in fusionchart v3.1 - FusionCharts Forum

Jump to content

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

Drilldown link for javascript not working in fusionchart v3.1 Drilldown link for javascript not working in fusionchart v3.1

#1 User is offline   samraman 

  • Forum Newbie
  • Group: Members
  • Posts: 2
  • Joined: 12-August 10

Posted 12 August 2010 - 12:17 PM

I'm attaching the files that I use. Drill down link for column2D.swf is not working.

I'm using v3.1. This is the simple example from the documentation of fusioncharts.

Attached File(s)


Sampath Raman
0

Other Replies To This Topic

#2 User is offline   Basundhara Ghosal 

  • Supreme Being
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2459
  • Joined: 15-September 09

Posted 12 August 2010 - 11:45 PM

Hi,

Welcome to FusionCharts forum. :)

Please try declaring the JavaScript function as :-

j-{user function name}-{parameter}

Ref.- http://www.fusioncharts.com/docs/Contents/DrillDown/JavaScript.html

Hope this helps. :)

Regards,

Basundhara Ghosal

Follow us on Twitter :D
0

Other Replies To This Topic

#3 User is offline   samraman 

  • Forum Newbie
  • Group: Members
  • Posts: 2
  • Joined: 12-August 10

Posted 13 August 2010 - 04:19 PM

I tried your suggestion it does not work still.

The only option in link that seems to be working for me is the relative path "/abc.html" etc.
Sampath Raman
0

Other Replies To This Topic

#4 User is offline   Basundhara Ghosal 

  • Supreme Being
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2459
  • Joined: 15-September 09

Posted 16 August 2010 - 02:46 AM

Hi Sampath,

We have re-tested the sample in our lab and it seems to work fine.

Please refer to the sample that we are sending you as an attachment.

I hope this helps.

Attached File(s)


Regards,

Basundhara Ghosal

Follow us on Twitter :D
0

Other Replies To This Topic

#5 User is offline   a_edel 

  • Forum Newbie
  • Group: Members
  • Posts: 2
  • Joined: 30-August 10

Posted 30 August 2010 - 01:23 PM

Drilldown links are broken in 3.1 Evaluation version using the latest browsers... IE 8.0 seems to work only when using a relative path as the link value, FF 3.6.2 doesn't work at all. Or is it an Adobe Flash Player Plugin issue? I'm using version 10.1.82.76.



Here's a sample data.xml file trying the various syntax options:



<chart caption="Drilldown Test" subCaption="" yaxislabel="xAxis" xaxislabel="yAxis">

<set label="httpURL" value="235" link="http://www.google.com" />

<set label="relURL" value="123" link="/file.txt" />

<set label="JavaScript1" value="129" link="JavaScript:myJS('parm1, 129')" />

<set label="JavaScript2" value="121" link="JavaScript:myJS('parm1, 121');" />

<set label="myJS fn" value="86" link="j-myJS('parm1,86')" />

<set label="myJS string" value="90" link="j-myJS-parm1,90" />

</chart>



FusionCharts v3.1

Release: 24th February 2009
0

Other Replies To This Topic

#6 User is offline   a_edel 

  • Forum Newbie
  • Group: Members
  • Posts: 2
  • Joined: 30-August 10

Posted 30 August 2010 - 05:37 PM

I found this in the documentation while researching something else:



To register the chart with JavaScript, we set the registerWithJS parameter to 1. It's the last parameter in FusionCharts constructor function.



For example:



var chart1 = new FusionCharts("Column3D.swf", "chart1Id", "400", "300", "0", "1");





This helped in my particular situation, however the sample already had this and still doesn't work.
0

Other Replies To This Topic

#7 User is offline   Basundhara Ghosal 

  • Supreme Being
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2459
  • Joined: 15-September 09

Posted 31 August 2010 - 09:25 AM

Hi,

Could you please try uninstalling and then reinstalling your Flash Player?

Hope this helps. :)

Regards,

Basundhara Ghosal

Follow us on Twitter :D
0

Other Replies To This Topic

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