// coll is a collection & my datasource this.table1.DataSource = coll; TableGroup group = new TableGroup { Name = "Territory" }; group.Groupings.Add(new Telerik.Reporting.Data.Grouping("=Fields.Territory")); //Remove the detail group var detailGroup = table1.RowGroups[0]; table1.RowGroups.Clear(); //Add the detail group as a child to the AgeGroup (nest it) group.ChildGroups.Add(detailGroup); group.GroupKeepTogether = true; //Add the AgeGroup table1.RowGroups.Add(group);Hello All,
I am creating a bar chart. The datasource is a datatable having values. The X-Axis has the date and the Y-Axis has values. When done this way the Datapoints are being displayed on top of each bar. I do not want to display the Datapoint value. How do I disable this? I had check the example they had given "chartSeries.Appearance.LabelAppearance.Visible = false;"(doesnot support). Is there any way the I can remove the datapoints.
Any how I am able to disable if I create series and populate by giving " chart1.Series[1].Appearance.LabelAppearance.Visible = false;" but the problem in this is that I am not able to populate the X-axis with date it asks for a double " item1.XValue = Convert.ToDateTime(TableValues.Rows[i]["StartTime"]).ToOADate();" in this the displayvalue in the chart comes as year 1899, the value passed was “TableValues.Rows[i]["StartTime"]= 2011-11-10 17:10:00". How do I plot values for relevant date?
Code:
Telerik.Reporting.Charting.ChartSeries chartSeries1 = new Telerik.Reporting.Charting.ChartSeries();
for (int i = 0; i < TableValues.Rows.Count; i++)
{
Telerik.Reporting.Charting.ChartSeriesItem item1 = new Telerik.Reporting.Charting.ChartSeriesItem();
item1.YValue = Convert.ToDouble(TableValues.Rows[i]["AlarmCount"]);
item1.XValue = Convert.ToDateTime(TableValues.Rows[i]["StartTime"]).ToOADate();
chartSeries1.Items.Add(item1);
}
this.InitiatedChart.Series.AddRange(new Telerik.Reporting.Charting.ChartSeries[] {
chartSeries1});
The other is that what is the max number of values the graph can hold. The graph does not display for 16,000 points.