issue for link in Category, DataTableDataColumn, Process
#1
Posted 16 February 2010 - 05:11 AM
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.
Other Replies To This Topic
#2
Posted 16 February 2010 - 06:36 AM
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.
Other Replies To This Topic
#3
Posted 17 February 2010 - 02:47 AM
Please, try and tell me if you have the same problem or if you find another solution. Thanks a lot for your suggestion.
Other Replies To This Topic
#4
Posted 17 February 2010 - 03:28 AM
Could you please send us the XML codes that you are using, as an attachment?
Awaiting your reply.
Other Replies To This Topic
#5
Posted 17 February 2010 - 04:50 AM
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
Other Replies To This Topic
#6
Posted 17 February 2010 - 05:27 AM
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 ' and for double quotes please try usibg "
Ref.-
<dataColumn width='70' headerLink='JavaScript:myJS('Japan, 123');' ...
Hope this helps.
Other Replies To This Topic
#7
Posted 17 February 2010 - 06:51 AM
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
Other Replies To This Topic
#8
Posted 17 February 2010 - 10:24 PM
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.
Other Replies To This Topic
#9
Posted 26 February 2010 - 06:39 AM
I tried with with IE browser and Firefox and I can use a string with max 107 characters.
thanks a lot for your help! ![]()
Joselita
Other Replies To This Topic
#10
Posted 28 February 2010 - 10:30 PM
Thanks for sharing the information.
Thanks for your appreciation.
Keep smiling and keep FusionCharting.

Back to top
MultiQuote