Nevron Forum

Big Pie

https://www.nevron.com/Forum/Topic4965.aspx

By inhyuk son - Friday, March 4, 2011

If NPieSeries has only one datapoint and LabelNode is PieLabelMode.SpiderNoOverlap, pie was big.



sample is here.


NChart m_Chart = nChartControl1.Charts[0];

m_Chart = new NPieChart();
m_Chart.Enable3D = true;
nChartControl1.Charts.Clear();
nChartControl1.Charts.Add(m_Chart);

NPieSeries m_Pie = (NPieSeries)m_Chart.Series.Add(SeriesType.Pie);
m_Pie.PieEdgePercent = 30;
m_Pie.PieStyle = PieStyle.SmoothEdgePie;
m_Pie.Legend.Mode = SeriesLegendMode.DataPoints;
m_Pie.Legend.Format = "
By Nevron Support - Friday, March 4, 2011

This is a known issue and it will be fixed in the next version of the control.