Sign in to follow this  
VikasV

FusinCharts in Liferay

Recommended Posts

I am trying to get my fusionchart working with LifeRay portlet.

My code in FusionChartRenderer jsp is

var chart = new FusionCharts("FCF_MSColumn3D.swf", "<%=chartId%>", "400", "300", "0", "0");

chart.

setDataXML(""<%= strXML%>");

This works fine when I deploy my application as a simple web application in Tomcat.

But in portlets its not working...I have FCF_MSColumn3D.swf in the same directory as the jsp.

Should i change the path of "FCF_MSColumn3D.swf" to something else in portlets?

 

 

 

Share this post


Link to post
Share on other sites
Guest Rajroop

Hi,

This is in most probablity path issue. Because, the deployment path might be different. Also it might be that the main document's path  is not same as the Jsp's path. So, please make sure to set the chart's path relative to the document's path.

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