Is there any way to change position of data points (numbers) on Xamarin Forms UWP/Windows Pie Chart, currently they render out side of Pie Chart, and get clipped.
Thanks,
Ram prasad
1 Answer, 1 is accepted
0
Nasko
Telerik team
answered on 14 Jul 2017, 07:02 AM
Hi Ram,
By default UWP's native RadPieChart clips its content to restrict the elements to render outside its rectangle. So, what we could suggest you for you scenario is set the ClipToBounds property of the native Chart to False. That you could achieve by creating a custom PieChartRenderer for UWP and inside the UpdateNativeControl method set the mentioned above property:
public class CustomPieChartRenderer : PieChartRenderer
{
protected override void UpdateNativeControl()
{
base.UpdateNativeControl();
if (this.Control != null)
{
this.Control.ClipToBounds = false;
}
}
}
}
Hope this helps.
Regards,
Nasko
Progress Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items