Sign in to follow this  
Mansi Shah

Render Charts By Javascript

Recommended Posts

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

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

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

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

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

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