Sign in to follow this  
chithra_s

Pie Chart

Recommended Posts

Hi,

Im using Pie chart. Can possible to create pie chart using FusionChart.js.

my code look like below.

 var chart = new FusionCharts("Pid2D.swf", "ChartId", "400", "400", "0", "0");

chart.setDataXML("dailyreport.xml");

chart.render("chartdiv2D");

Need to render the chart into htm. is it possible using above code.?

could anyone help me to acheive this ?

Chithra.S

Share this post


Link to post
Share on other sites

Hi,

Could you please use dataURL method because you are using XML file directly?

see this code

var chart = new FusionCharts("Pid2D.swf", "ChartId", "400", "400", "0", "0");

chart.setDataURL("dailyreport.xml");

chart.render("chartdiv2D");

Could you please visit this link?

For dataURL method -> http://www.fusioncharts.com/docs/Contents/JSEmbed.html

For dataXML method -> http://www.fusioncharts.com/docs/Contents/DataXML.html

you are using ASP.Net. so you can use .net technologies using FusionCharts.dll

please visit this link

http://www.fusioncharts.com/docs/Contents/CS_BasicExample.html

Edited by Guest

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