Bhaskar Report post Posted September 5, 2011 (edited) 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. Edited September 5, 2011 by Bhaskar Share this post Link to post Share on other sites
Guest Angshu Report post Posted September 5, 2011 Hi, Thanks for your post. Please find the latest js file attached for your reference. Hope this helps. FusionCharts.zip Share this post Link to post Share on other sites
Bhaskar Report post Posted September 5, 2011 Hi, Thanks for your reply, but its giving js errors in Highcharts.js like "typeClass is not a constructor", at line 18. Share this post Link to post Share on other sites
Guest Angshu Report post Posted September 5, 2011 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
Bhaskar Report post Posted September 5, 2011 (edited) 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 September 5, 2011 by Bhaskar Share this post Link to post Share on other sites
Guest Angshu Report post Posted September 5, 2011 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. Share this post Link to post Share on other sites
Bhaskar Report post Posted September 5, 2011 attachments missing... Share this post Link to post Share on other sites
Guest Angshu Report post Posted September 5, 2011 Hi, Please find the attachment. Share this post Link to post Share on other sites
Bhaskar Report post Posted September 6, 2011 (edited) 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 September 6, 2011 by Bhaskar Share this post Link to post Share on other sites
Guest Angshu Report post Posted September 6, 2011 Hi, Glad to know that you have managed to resolve your problem. Happy FusionCharting! Share this post Link to post Share on other sites