denisagui Report post Posted October 17, 2012 (edited) Hi folks! i have a doubt about path and filename for swfFilename when i'll generate javascript chart, if i generate a Flash chart, i juse this code: generate flash chart <fc:render chartId="yearComparative" filename="../FusionCharts/MSLine.swf"] width="100%" height="100%" debugMode="false" registerWithJS="false" xml="#{lineMB.stringXml}" /> i wonder how i can create a pure javascript chart passing a path and chart name manualy for swfFilename. i thought in this code: generate javascript ???? <fc:render chartId="yearComparative" swfFilename="????" width="100%" height="100%" debugMode="false" registerWithJS="true" renderer="javascript" xml="#{lineMB.stringXml}" /> another doubt about javascript files needed to generate pure javascript charts... in my project are arranged as follows form: FusionCharts.js, FusionCharts.HC.js, FusionCharts.jqueryplugin.js, jquery.min.js, FusionChartsExportComponent.js. these files are really needed ? is missing some ? tnks for all... Edited October 17, 2012 by denisagui Share this post Link to post Share on other sites
Guest Bindhu Report post Posted October 18, 2012 (edited) Hi, You may use the same line of code to render JavaScript charts, as well. JavaScript charts do not use the SWF files, however they need the name of the chart(SWF file) to render the charts. Hence, in order to maintain uniformity, you may use the same line of code, however, internally the charting engine finds the JavaScript Chart Alias and renders the chart. You may also use the chart aliases directly. For JavaScript Chart Aliases you may refer to the link below, http://docs.fusionch.../ChartList.html Hope this helps! Edited October 18, 2012 by Bindhu Share this post Link to post Share on other sites
FusionCharts Support Report post Posted October 18, 2012 Hi, A. In swfFilename="????" pass only the JavaScript chart Alias (Read more). Example swfFilename="MSColumn3D" B. these files are really needed ? is missing some ? >> Yes, these files are needed and need to be placed in a single folder. You have missed FusionCharts.HC.Charts.js However, while referring in your HTML/JSP code, you can only refer to FusionCharts.js. It will automatically load the other required files, preferably from the same folder (hence asked to keep all these files in the same folder). Share this post Link to post Share on other sites
Guest Bindhu Report post Posted October 18, 2012 oops ! I missed the second question You have it answered by Sudipto Happy FusionCharting Share this post Link to post Share on other sites