Mansi Shah Report post Posted May 29, 2012 Hi, i want to preset charts to render by javascript. For that i have written "FusionCharts.setCurrentRenderer('javascript');" in my code but it gives and javascript error "O.type is undefined" in fusioncharts.HC.js file and charts are not rendering because of that. Any suggestions ?? Share this post Link to post Share on other sites
Guest Sumedh Report post Posted May 29, 2012 Hi, i want to preset charts to render by javascript. For that i have written "FusionCharts.setCurrentRenderer('javascript');" in my code but it gives and javascript error "O.type is undefined" in fusioncharts.HC.js file and charts are not rendering because of that. Any suggestions ?? Hi, For JavaScript rendering, you would need to add necessary library files into your project folder. >FusionCharts.js >FusionCharts.HC.js >FusionCharts.HC.Charts.js >jquery.min.js Also, make sure you have added the reference of FusionCharts into your project. You can get FusionCharts.dll file in Download Pack>>Code>>CS>>Bin folder. Share this post Link to post Share on other sites
Mansi Shah Report post Posted May 29, 2012 Hi, For JavaScript rendering, you would need to add necessary library files into your project folder. >FusionCharts.js >FusionCharts.HC.js >FusionCharts.HC.Charts.js >jquery.min.js Also, make sure you have added the reference of FusionCharts into your project. You can get FusionCharts.dll file in Download Pack>>Code>>CS>>Bin folder. Thanks for reply. i have added all the references and js files are also placed well. The problem seems to be have with new version of fusion charts, because i just test with old version its working fine in old version and there is no need to add >FusionCharts.HC.js >FusionCharts.HC.Charts.js files. Share this post Link to post Share on other sites
Guest Sumedh Report post Posted May 29, 2012 Thanks for reply. i have added all the references and js files are also placed well. The problem seems to be have with new version of fusion charts, because i just test with old version its working fine in old version and there is no need to add >FusionCharts.HC.js >FusionCharts.HC.Charts.js files. Hi, Find attached illustration for your reference. Demo_JS_Chart.zip Share this post Link to post Share on other sites
Mansi Shah Report post Posted May 30, 2012 Hi, Find attached illustration for your reference. Thanks for illustration , it helped me. In my project a default jquery file was loaded and it was not working with fusion chart, but from your sample project i got idea to add jquery.min.js file comes with fusion chart pack and it works for me. Now when the charts loaded by javascript, there is a label "Fusionchart" below the chart, how can i hide it? Share this post Link to post Share on other sites
Swarnam Report post Posted May 30, 2012 Please refer to Forum post link: http://forum.fusioncharts.com/topic/11830-labels-get-roated-in-javascript-view/page__pid__46467#entry46467 Share this post Link to post Share on other sites