GraphPane myPane = zgc.GraphPane; myPane.Border.IsVisible = false; myPane.Legend.IsVisible = false; myPane.Title.FontSpec.Size = 24; myPane.Legend.FontSpec.Size = 50; Color color = CreateRandomColor(); for (int i = 0; i < getCategoryTable().Rows.Count; i++) { // myPane.Title.Text = Convert.ToString(getCategoryTable().Rows[i]["categoryname"]); myPane.AddPieSlice(getCategoryCount(Convert.ToInt32(getCategoryTable().Rows[i]["ID"])), color, 0.01, Convert.ToString(getCategoryTable().Rows[i]["categoryname"])); }
zedGraphControl2.GraphPane.CurveList.Clear(); zedGraphControl2.AxisChange(); zedGraphControl2.Invalidate(); zedGraphControl2.GraphPane.Title.Text = "";
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)