I'm trying to create test report with chart and here what I have:
Result attached in TelerikReports-chart file.
My questions:
1) How I can fix data labels? Right now some of them overlay other. See "Human Resources" and "Healthcare" at the bottom of img.
2) I want to display numbers in data labels and text in legend. For example "Sales/Marketing" should be replaced to 60, but legend should be the same.
Thanks
this.chart3.BitmapResolution = 96F;this.chart3.ChartTitle.Appearance.Visible = false;this.chart3.ChartTitle.Visible = false;this.chart3.DataSource = this.sqlDataSource2;this.chart3.DefaultType = Telerik.Reporting.Charting.ChartSeriesType.Pie;this.chart3.ImageFormat = System.Drawing.Imaging.ImageFormat.Emf;this.chart3.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(7.800079345703125D, Telerik.Reporting.Drawing.UnitType.Inch));this.chart3.Name = "chart3";chartMargins5.Bottom = new Telerik.Reporting.Charting.Styles.Unit(1D, Telerik.Reporting.Charting.Styles.UnitType.Percentage);chartMargins5.Left = new Telerik.Reporting.Charting.Styles.Unit(1D, Telerik.Reporting.Charting.Styles.UnitType.Percentage);chartMargins5.Right = new Telerik.Reporting.Charting.Styles.Unit(24D, Telerik.Reporting.Charting.Styles.UnitType.Percentage);chartMargins5.Top = new Telerik.Reporting.Charting.Styles.Unit(1D, Telerik.Reporting.Charting.Styles.UnitType.Percentage);this.chart3.PlotArea.Appearance.Dimensions.Margins = chartMargins5;this.chart3.PlotArea.XAxis.MinValue = 1D;chartSeries1.Appearance.LegendDisplayMode = Telerik.Reporting.Charting.ChartSeriesLegendDisplayMode.ItemLabels;chartSeries1.Appearance.ShowLabelConnectors = true;chartSeries1.DataLabelsColumn = "Department";chartSeries1.DataYColumn = "TotalJobs";chartSeries1.Name = "Jobs";chartSeries1.Type = Telerik.Reporting.Charting.ChartSeriesType.Pie;this.chart3.Series.AddRange(new Telerik.Reporting.Charting.ChartSeries[] {chartSeries1});this.chart3.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(5.7999601364135742D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(2.8998820781707764D, Telerik.Reporting.Drawing.UnitType.Inch));My questions:
1) How I can fix data labels? Right now some of them overlay other. See "Human Resources" and "Healthcare" at the bottom of img.
2) I want to display numbers in data labels and text in legend. For example "Sales/Marketing" should be replaced to 60, but legend should be the same.
Thanks