or
myChart.Series(0).Name = "Construction Time"
| Telerik.Charting.ChartAxisItem chartAxisItem1 = new Telerik.Charting.ChartAxisItem(); | |
| Telerik.Charting.ChartAxisItem chartAxisItem2 = new Telerik.Charting.ChartAxisItem(); | |
| Telerik.Charting.ChartAxisItem chartAxisItem3 = new Telerik.Charting.ChartAxisItem(); | |
| chartAxisItem1.Value = new decimal(new int[] {1, 0,0,0}); | |
| chartAxisItem2.Value = new decimal(new int[] {6,0,0,0}); | |
| chartAxisItem3.Value = new decimal(new int[] {11,0,0,0}); | |
| this.radChart1.PlotArea.XAxis.Items.AddRange(new Telerik.Charting.ChartAxisItem[] { | |
| chartAxisItem1, | |
| chartAxisItem2, | |
| chartAxisItem3}); |
| private void radgrid_CellEndEdit(object sender, GridViewCellEventArgs e) |
| { |
| Console.WriteLine("cell edit"); |
| if (radgrid.Rows[e.RowIndex].ViewTemplate.Parent == null) |
| { |
| Console.WriteLine(radgrid.Rows[e.RowIndex].Cells[e.ColumnIndex].Value); |
| } |
| else |
| { |
| var template = radgrid.MasterGridViewTemplate.ChildGridViewTemplates[0]; |
| Console.WriteLine(template.Rows[e.RowIndex].Cells[e.ColumnIndex].Value); |
| } |
| } |