Hi telerik team,
I'm developing a reporting char, and I needed your support:
My chart have many duplicate xaxis (with the hours of the records.) and i just want remove it.
I put a chart image in attachment and i leave the source...
Can you help us?
Thanks
Giuliano Caetano
I'm developing a reporting char, and I needed your support:
My chart have many duplicate xaxis (with the hours of the records.) and i just want remove it.
I put a chart image in attachment and i leave the source...
private void PositionTempChartNeedDataSource(object sender, EventArgs e){PositionTempChart.DataSource = this.DataSource;var procChart = (Telerik.Reporting.Processing.Chart)sender;var defChart = (Telerik.Reporting.Chart)procChart.ItemDefinition;defChart.IntelligentLabelsEnabled = false;defChart.PlotArea.Appearance.Dimensions.Margins.Top = Unit.Pixel(25);defChart.PlotArea.Appearance.Dimensions.Margins.Bottom = Unit.Pixel(25);defChart.PlotArea.Appearance.Dimensions.Margins.Left = Unit.Pixel(25);defChart.PlotArea.Appearance.Dimensions.Margins.Right = Unit.Pixel(0); var temperature1 = new ChartSeries { Type = ChartSeriesType.Line };temperature1.Clear();temperature1.DataYColumn = "Temp1";temperature1.DataXColumn = "DoubleDateTime";temperature1.Appearance.ShowLabels = false;temperature1.Appearance.LineSeriesAppearance.Color = System.Drawing.ColorTranslator.FromHtml("#86D8A0");temperature1.Appearance.LegendDisplayMode = ChartSeriesLegendDisplayMode.Nothing;defChart.Series.Add(temperature1);var temperature2 = new ChartSeries { Type = ChartSeriesType.Line };temperature2.Clear();temperature2.DataYColumn = "Temp2";temperature2.DataXColumn = "DoubleDateTime";temperature2.Appearance.ShowLabels = false;temperature2.Appearance.LineSeriesAppearance.Color = System.Drawing.ColorTranslator.FromHtml("#F09081");temperature2.Appearance.LegendDisplayMode = ChartSeriesLegendDisplayMode.Nothing;defChart.Series.Add(temperature2);defChart.PlotArea.XAxis.DataLabelsColumn = "DoubleDateTime";defChart.PlotArea.XAxis.IsZeroBased = false;defChart.PlotArea.XAxis.AutoScale = false;defChart.PlotArea.XAxis.Appearance.ValueFormat = ChartValueFormat.ShortTime;defChart.PlotArea.XAxis.Appearance.CustomFormat = "HH";}Can you help us?
Thanks
Giuliano Caetano