FR4 Help Please,Very Important

edited 8:37PM in FastReport 4.0
Please i need help
I created Fastreport 4 in visual studio 2012 and created series with pie chart in it with the following code:

Report report1 = new Report();
ReportPage page = new ReportPage();
report1.Pages.Add(page);
page.CreateUniqueName();
page.ReportTitle = new ReportTitleBand();
page.ReportTitle.Height = Units.Centimeters * 10;
page.ReportTitle.CreateUniqueName();
List<northwndClassView> list = retuen_proc_result(); //Fill with any data
report1.Dictionary.Clear();
report1.Report.RegisterData(list, "Items_Orders");
// create MSChart Object
MSChartObject chart = new MSChartObject();
chart.Parent = page.ReportTitle;
chart.Bounds = new RectangleF(0, 45, Units.Centimeters * 19, Units.Centimeters * 10);
MSChartSeries barSeries = chart.AddSeries(SeriesChartType.Pie);
chart.DataSource = report1.GetDataSource("Items_Orders");
barSeries.XValue = "[Items_Orders.ShipCountry]";
barSeries.YValue1 = "[Items_Orders.Year]";
barSeries.GroupBy = GroupBy.XValue;
WebReport1.Report = report1;

and the pie chart is appeared successfully but i want to make labels of pie chart to be appeared outside the chart
Please any help

Comments

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.