I'm currently doing a window form that have Pie Chart
inside.I need to show the percentage of the pie.
But now I have eencountered a problem : When I add this #PERCENT{P2}
to series the Pie Chart
will show like this:
But if I remove it, the Pie Chart
will show like this
Is there possible to make the Pie Chart
Like this?
My Code:
DataTable dt = new DataTable();
dt.Columns.Add("completed", typeof(string));
dt.Columns.Add("no", typeof(int));
int noin = allitem - intime;
dt.Rows.Add("Complete In Time", intime);
dt.Rows.Add("OverDue", noin);
chart1.DataSource = dt;
chart1.DataBind();