How can i do that http://i45.tinypic.com/2r3uu7c.png in my pie chart ?
This is my code ;
DataTable
table = new DataTable();
table.Columns.Add(
"STATE", typeof(string));
table.Columns.Add(
"VALUE", typeof(int));
table.Rows.Add(
"AVAIL", 50);
table.Rows.Add(
"ACD", 10);
table.Rows.Add(
"AUX", 20);
table.Rows.Add(
"ACW", 30);
table.Rows.Add(
"RING", 24);
table.Rows.Add(
"OTHER", 47);
radChart1.ChartTitle.TextBlock.Text =
"Agent Status For " + this.Text;
DataTable dt = table ;
Telerik.Charting.
ChartSeries series = new Telerik.Charting.ChartSeries();
series.Type = Telerik.Charting.
ChartSeriesType.Pie;
series.Appearance.LegendDisplayMode = Telerik.Charting.
ChartSeriesLegendDisplayMode.ItemLabels;
series.DataYColumn =
"VALUE";
radChart1.Series.Clear();
radChart1.Series.Add(series);
radChart1.DataSource = dt;
radChart1.DataBind();
Thanks ...