Approved
Last Updated: 29 Mar 2016 10:58 by ADMIN
ADMIN
Dimitar
Created on: 12 Aug 2015 08:11
Category: ChartView
Type: Bug Report
0
FIX. RadChartView - PieChart - when there are a lot of labels some of them are drawn outside of the visible area.
To reproduce:
this.radChartView1.AreaType = ChartAreaType.Pie;
PieSeries series = new PieSeries();

series.DataPoints.Add(new PieDataPoint(50, "Germany"));

series.DataPoints.Add(new PieDataPoint(70, "United States"));

series.DataPoints.Add(new PieDataPoint(40, "France"));

for (int i = 0; i < 50; i++)
{
    series.DataPoints.Add(new PieDataPoint(1, "Item " + i));
}

series.ShowLabels = true;
series.DrawLinesToLabels = true;
this.radChartView1.Series.Add(series);
 this.radChartView1.ShowSmartLabels = true;
0 comments