Cómo configurar diferentes etiquetas en Legend en Pie Chart
Actualmente estoy haciendo un formulario de ventana que tienePie Chart
adentro Necesito mostrar el porcentaje del pastel.
Pero ahora he encontrado un problema: cuando agrego esto#PERCENT{P2}
para la seriePie Chart
se mostrará así:
Pero si lo quito, elPie Chart
se mostrará así
¿Es posible hacer elPie Chart
¿Me gusta esto?
Mi código:
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();