This is a migrated thread and some comments may be shown as answers.

[Solved] PieChart Clipping

1 Answer 151 Views
Chart for XAML
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Russell.Asher
Top achievements
Rank 1
Russell.Asher asked on 20 Jul 2012, 11:13 PM
Whenever I try to programmatically create a piechart I first see the proper graph and then it appears the graph is surrounded by a boarder box which clips part of the labels.

 

RadPieChart Piechart = new RadPieChart();

PieSeries Pieseries = new PieSeries() { ShowLabels = true };

Pieseries.ItemsSource = list;

Pieseries.ValueBinding =

new PropertyNameDataPointBinding("Value");

Piechart.Name = curr.Title;

Piechart.Series.Add(Pieseries);

Piechart.Margin =

new Thickness(30);

this.ChartsPanel.Children.Add(Piechart);



any help would be great.

1 Answer, 1 is accepted

Sort by
0
Russell.Asher
Top achievements
Rank 1
answered on 24 Jul 2012, 07:11 PM

piechart.ClipToBounds = false;



I ran into this clipping issue when I was making charts from the runasync method.





Thanks for all the help ;)
Tags
Chart for XAML
Asked by
Russell.Asher
Top achievements
Rank 1
Answers by
Russell.Asher
Top achievements
Rank 1
Share this question
or