Sign in to follow this  
jeffery.k

How To Enable Javascript Debug When Using Fcrender Tag?

Recommended Posts

We have an app, running inside a jboss application server, with jsp pages serving up the UI. We're accessing EJB beans to get things like the xmldata, flash filename etc, and rendering the chart with the fcRender tag. When we view these pages on mobile devices like ipad, iPhone, they render in html using the fusioncharts javascript backup.

Based on documentation on the website, the debug for java script is different than the debugMode tag. There are examples given for enabling Javascript debug, if you render the chart directly with javascript, but how do we enable javascript debugging if we us the fcRender tag:

 

Here's our fcRender statement:

<fc:render

chartId="#{sectionIndex}#{chartIndex}"

windowMode="opaque"

filename="#{chart.shockWaveFileName}"

width="300"

height="200"

debugMode="false"

xml="#{chart.xmlData}"/>

 

Here's the page describing how to enable debug if you render directly with javascript: http://kb.fusioncharts.com/questions/438/How+do+I+debug+my+charts+using+JavaScript%3F

We tried using those lines, but the web console just says undefined variable FusionCharts

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