Hi Vahid,
The BeginAngle, Radius and InnerRadius are member of NPieChart - in previous versions of the control they were members of the NPieSeries - which was not correct in our view. The following code shows how to specify those properties in a simple pie chart:
nChartControl1.Panels.Clear();
NPieChart pieChart = new NPieChart();
nChartControl1.Panels.Add(pieChart);
pieChart.BeginAngle = 90;
pieChart.InnerRadius = new NLength(30, NRelativeUnit.ParentPercentage);
pieChart.Radius = new NLength(50, NRelativeUnit.ParentPercentage);
NPieSeries pieSeries = new NPieSeries();
pieSeries.PieStyle = PieStyle.Ring;
pieSeries.Values.Add(10);
pieSeries.Values.Add(20);
pieSeries.Values.Add(30);
pieChart.Series.Add(pieSeries);
Hope
this
helps
-
let
us
know
if
you
meet
any
problems
or
have
any
questions
.
Best Regards,
Nevron Support Team