|
|
|
Junior Member
      
Group: Forum Members
Last Login: Today @ 4:44:15 AM
Posts: 18,
Visits: 60
|
|
Hi,
Could you let me know why is the issue occuring?
Thanks,
Olives.
|
|
|
|
|
Supreme Being
      
Group: Moderators
Last Login: Today @ 4:19:22 AM
Posts: 885,
Visits: 1,422
|
|
Hi,
I apologize for the typo:
clickURL='%26lt;portlet%3Anamespace%2F%26gt;TestMethod();'
Please modify it to :
clickURL='Java Script: %26lt;portlet%3Anamespace%2F%26gt;TestMethod();' Note : to remove the space between Java and Script. This forum sometimes omits the word 'javascript'. Hence, i have kept a space. Please also make sure that you are able to call this javascript from a simple form button etc.
<portlet:namespace/> TestMethod();
Regards,
Sudipto Choudhury FusionCharts Team
|
|
|
|
|
Junior Member
      
Group: Forum Members
Last Login: Today @ 4:44:15 AM
Posts: 18,
Visits: 60
|
|
Hi,
thanks so much for the code snippet.
clickURL='JavaScript: %26lt;portlet%3Anamespace%2F%26gt;TestMethod();'>
This helped to go further.
The xml generated by the chart debugger is coming correctly.
But on click of the chart ,the javascript does not get invoked.,this i suppose is an issue with the flash and macintosh.
I am using the intel mac(quad-Core Intel Xeon).
One of the forum posts mentioned that :
It occurs if you are running your HTML locally. By default Flash Player's security setting blocks invoking/calling JavaScript from SWF (Flash Movie), so you need to reset your setting into Global Security Setting panel.
Ref:http://www.fusioncharts.com/forum/Topic5009-47-1.aspx?Highlight=javascript+in+xml
Probably need to find how this can be fixed on my mac.
Is there mac version for including pluginspage='http://www.macromedia.com/go/getflashplayer' in the Fusion.jsp?
Thanks anyways!
Olives
|
|
|
|
|
Junior Member
      
Group: Forum Members
Last Login: Today @ 4:44:15 AM
Posts: 18,
Visits: 60
|
|
Hi,
Could you tell me where i could look for help regarding this issue.The chart debugger gets the right js format but the the alert does not come up.
Thanks,
olives
|
|
|
|
|
Supreme Being
      
Group: Moderators
Last Login: Today @ 4:19:22 AM
Posts: 885,
Visits: 1,422
|
|
| Hi, Could you please try running from a Web Server? I suppse your mac has Apache configured.
Regards,
Sudipto Choudhury FusionCharts Team
|
|
|
|
|
Junior Member
      
Group: Forum Members
Last Login: Today @ 4:44:15 AM
Posts: 18,
Visits: 60
|
|
hi,
I tried running this from a web server itself.
Thanks ,
olives.
|
|
|
|
|
Junior Member
      
Group: Forum Members
Last Login: Today @ 4:44:15 AM
Posts: 18,
Visits: 60
|
|
Hi,
the issue of javascript invocation got resolved .
Was missing the folowing:
To register the chart with JavaScript, we set the registerWithJS parameter to 1
var chart1 = new FusionCharts("../../FusionCharts/Column3D.swf", "chart1Id", "400", "300", "0", "1");
Realized this far too late.
Is there any way to set this parameter if we are using createChartHTML method?
Thanks,
Olives
|
|
|
|