FusionCharts Forum: issue for link in Category, DataTableDataColumn, Process - FusionCharts Forum

Jump to content

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

issue for link in Category, DataTableDataColumn, Process

#1 User is offline   moltisan 

  • Forum Newbie
  • Group: Members
  • Posts: 5
  • Joined: 16-February 10

Posted 16 February 2010 - 05:11 AM

Hi,
I'm using FusionChartFree and I have a problem about the links into Category, DataTableDataColumn, Activity. If I write: link = " alert('ciao')" the link doens't work and the the word with this link disappear. If I write: link = 'alert("ciao")' the link works correctly.

The link into Task works using both of two previous code.
Please, could you explain why and if there is a solution?

Thank you.


0

Other Replies To This Topic

#2 User is offline   Basundhara Ghosal 

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

Posted 16 February 2010 - 06:36 AM

Hi,

Welcome to FusionCharts forum. :)

Please try using the link attribute in link="JavaScript:myJS('Japan, 123');" format.

Also, please refer to the link below for detailed information on the same.

Ref.- http://www.fusioncharts.com/free/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   moltisan 

  • Forum Newbie
  • Group: Members
  • Posts: 5
  • Joined: 16-February 10

Posted 17 February 2010 - 02:47 AM

Sorry, but this is not a solution for my problem because this kind of link doesn't work for example in DataTableDataColumn.

Please, try and tell me if you have the same problem or if you find another solution. Thanks a lot for your suggestion.

0

Other Replies To This Topic

#4 User is offline   Basundhara Ghosal 

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

Posted 17 February 2010 - 03:28 AM

Hi,

Could you please send us the XML codes that you are using, as an attachment?

Awaiting your reply. :)

Regards,

Basundhara Ghosal

Follow us on Twitter :D
0

Other Replies To This Topic

#5 User is offline   moltisan 

  • Forum Newbie
  • Group: Members
  • Posts: 5
  • Joined: 16-February 10

Posted 17 February 2010 - 04:50 AM

Hi,

its' enough to use this code:

<dataColumn width='70' headerLink="JavaScript:myJS('Japan, 123');" ...

adding in html:

<SCRIPT LANGUAGE="JavaScript">
  function myJS(myVar){
window.alert(myVar);
  }
</SCRIPT>

Anyway I sent you the code in attachment of a gantt chart.

Thanks

0

Other Replies To This Topic

#6 User is offline   Basundhara Ghosal 

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

Posted 17 February 2010 - 05:27 AM

Hi,

Could you please try using single quotes in place of double quotes for the attributes of the XML code?

In case you wish to use single quotes please try using &apos; and for double quotes please try usibg &quot;

Ref.-

<dataColumn width='70' headerLink='JavaScript:myJS(&apos;Japan, 123&apos;);' ...

Hope this helps. :)

Regards,

Basundhara Ghosal

Follow us on Twitter :D
0

Other Replies To This Topic

#7 User is offline   moltisan 

  • Forum Newbie
  • Group: Members
  • Posts: 5
  • Joined: 16-February 10

Posted 17 February 2010 - 06:51 AM

thanks a lot for your solution. it works.:)

I have another question:

Please, do you know if there is a limit for lenght of a request?  We tried to send a long String and it wasn't read correctly, but truncated.

thanks

0

Other Replies To This Topic

#8 User is offline   Basundhara Ghosal 

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

Posted 17 February 2010 - 10:24 PM

Hi,

You are welcome. :)

This is a know issue with IE browser.

Could you please try rendering the chart in any other browser and let us know if it is working?

Awaiting your reply. :)

Regards,

Basundhara Ghosal

Follow us on Twitter :D
0

Other Replies To This Topic

#9 User is offline   moltisan 

  • Forum Newbie
  • Group: Members
  • Posts: 5
  • Joined: 16-February 10

Posted 26 February 2010 - 06:39 AM

Hi,

I tried with with IE browser and Firefox and I can use a string  with max 107 characters.

thanks a lot for your help! Posted Image

Joselita


0

Other Replies To This Topic

#10 User is offline   Basundhara Ghosal 

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

Posted 28 February 2010 - 10:30 PM

Hi,

Thanks for sharing the information.

Thanks for your appreciation.

Keep smiling and keep FusionCharting. :)

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