How to display FusionPie Chart in csharp Winform
I am taking value from datatable.
I want Fusion Chart(Pie).
Now I am using Zedgraph and my code is
GraphPane myPane = zgc.GraphPane;
myPane.Border.IsVisible = false;
myPane.Legend.IsVisible = false;
Color color = CreateRandomColor();
for (int i = 0; i < getCategoryTable().Rows.Count; i++)
{
myPane.AddPieSlice(getCategoryCount(Convert.ToInt32(getCategoryTable().Rows[i]["ID"])), color, 0.01, Convert.ToString(getCategoryTable().Rows[i]["categoryname"]));
}
here
getCategoryCount(Convert.ToInt32(getCategoryTable().Rows[i]["ID"]))
is
name to display and
Convert.ToString(getCategoryTable().Rows[i]["categoryname"])
is value associated with it.
instead of this i want fusion pie chart
Please tell me complete process.
Thanks.