Sign in to follow this  

i cant call a javaScriptFunction on a chart

Recommended Posts

Hi every body!




I made a bar chart using "FusionCharts V3 Trial Version" i use the "class com.infosoftglobal.fusioncharts.FusionChartsCreator"


my chart was create ok, i can see ok the chart with the values that i put on the XML. For create the chart i use


the class constructor: FusionChartsCreator.createChart




When i had read the documentation i understand that with that class i have not problem for render the chart when i use Explorer , in effect i dont have problems for render i can see all ok.. in FireFox is equal i saw all ok!




But when i construct the xml i defined a "link" with a call of one Function JavaScript , i put some like:


link="javaScript:toDesc(val)", where "val" is a value of a ResultSet.




Note: i create a JSP whose name is EjemploChart.jsp






when i call the JSP (EjemploChart.jsp) the chart is render on FireFox i saw ok the "bar" chart , when i made click on a bar my javascript function was called..if i call the same JSP in Explorer i have the same result, i.e the chart is render ok and i can make click in a bar for call the javascript function, this work ok!




If i put that JSP in a Iframe in Mozilla run ok.. but in Explorer i can

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