Sign in to follow this  
Bhaskar

Power Chart Is Breaking With Fusion Chart In A Single Jsp...

Recommended Posts

Hi,

 

In a Single JSP, I am trying to show FC3 and power charts DragNode.swf, so please tell me what to do to implement both in a single JSP. FC is coming fine, but Dragnode is gicing error like "Chart has no javascript fallback".

 

It is ok to show DragNode old version and new version of FC.

FusionCharts._fallbackJSChartWhenNoFlash(); is not working...

 

Thanks in advance.

 

 

 

 

 

post-21179-0-02371300-1315223580_thumb.jpg

Edited by Bhaskar

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Could you please send us the XML code to look into the issue?

 

Awaiting for your response.

Share this post


Link to post
Share on other sites

DataXML:

 

<chart use3DLighting="1" xAxisMinValue="0" xAxisMaxValue="500" yAxisMinValue="0" yAxisMaxValue="150" borderAlpha ="0" bubbleScale="3" is3D="1" numDivLines="0" showFormBtn="0" showLabels="0" showBorder="0" showPlotBorder="0" bgColor="FFFFFF" borderColor="FFFFFF" canvasBorderColor="FFFFFF" borderThickness ="0" enableLink="1" labelDisplay="WRAP" >

<dataset plotborderAlpha="100" allowDrag="1">

<set x="320" y="150" width="200" height="16" alpha="0" color="FFFFFF" name="YOU" id="0" imageurl="/wa/images/connectionMap/imgs/lbl_you.png" imageNode="1" imageAlign="bottom" imageHeight="16" imageWidth="42" />

<set x="20" y="125" toolText="Charles " width="56" height="95" alpha="0" labelAlign="bottom" color="FFFFFF" label="Charles" link="..." id="1" imageurl="../images/small/photo_not_available_small.gif" imageNode="1" imageAlign="top" imageHeight="55" imageWidth="40" />

<set x="320" y="94" width="30" height="30" alpha="0" color="FFFFFF" name="Charles..." id="3" imageurl="/wa/images/Read-See-View.png" imageNode="1" imageAlign="bottom" imageHeight="30" imageWidth="30" /><set x="320" y="70" toolText="Donald" width="72" height="95" alpha="0" labelAlign="bottom" color="FFFFFF" label="Donald" link=".." id="2" imageurl="../images/small/181000/181520_small.jpg" imageNode="1" imageAlign="top" imageHeight="55" imageWidth="40" /><set x="320" y="40" width="30" height="30" alpha="0" color="FFFFFF" name="Donald" id="5" imageurl="/wa/images/Read-See-View.png" imageNode="1" imageAlign="bottom" imageHeight="30" imageWidth="30" /><set x="320" y="15" toolText="Arthur " width="64" height="95" alpha="0" labelAlign="bottom" color="FFFFFF" label="Arthur" link="..." id="4" imageurl="../images/small/photo_not_available_small.gif" imageNode="1" imageAlign="top" imageHeight="55" imageWidth="40" /></dataset><connectors color="CCCCCC" stdThickness="8" labelDisplay="WRAP"><connector strength="0.55" from="0" to="1" arrowAtStart="0" arrowAtEnd="1"/><connector strength="0.55" from="1" to="3" arrowAtStart="0" arrowAtEnd="1"/><connector strength="0.55" from="3" to="2" arrowAtStart="0" arrowAtEnd="1"/><connector strength="0.55" from="2" to="5" arrowAtStart="0" arrowAtEnd="1"/><connector strength="0.55" from="5" to="4" arrowAtStart="0" arrowAtEnd="1"/></connectors><styles> <definition> <style name="name" type="font" isHTML="1" color="0070C0" bgColor="FFFFFF"/> <style name="desc" type="font" isHTML="1" bgColor="FFFFFF"/> </definition> <application> <apply toObject="DATALABELS" styles="name"/> <apply toObject="TOOLTIP" styles="desc"/> <apply toObject="CONNECTORLABELS" styles="desc"/> </application></styles></chart>

 

 

Code :

 

chart =new FusionCharts("/js-lib/PowerChart/Charts/DragNode.swf", "TEST", "500", chartHeight, "0", "1"); chart.setDataXML(xml.join("")); FusionCharts._fallbackJSChartWhenNoFlash();

 

 

chart.render("chartdiv");

 

 

Edited by Bhaskar

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

I am afraid, we are unable to replicate the issue, as the code is working fine from our end.

 

Please find the screenshot attached for your reference.

 

It seems that you are not using the latest js files.

 

Please download the latest js files from: http://www.fusioncha...harts/download/

 

Hope this helps.

post-10517-0-69553200-1315227287_thumb.png

Share this post


Link to post
Share on other sites

Hi,

 

I want to add few more lines to above problem. DragNode power chart is not coming because in the same JSP page I am setting FusionCharts.setCurrentRenderer('javascript'); for FC

 

and down the lines for DragNode chart I am not setting any renderer so its taking the above javascript as renderer. Now I kept

 

FusionCharts.setCurrentRenderer('flash'); its working fine now.

 

 

Thanks ...

 

 

Edited by Bhaskar

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Glad to know that you have managed to resolve your problem.

 

Happy FusionCharting!biggrin.gif

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