how can i get similar result on Telerik Report with showing percentage instead of the Count value that is shown by default.

i'm using C# in my application.

thanks

enter image description here

有帮助吗?

解决方案

This is how it looks in my app

<telerik:PieSeriesDefinition AxisName="YourName"
                             ShowItemLabels="True"
                             ItemLabelFormat="#%{P0}" 
                             RadiusFactor="0.7">

The key here is the ItemLabelFormat with RadiusFactor you can move it as far as you want from the center

Forgot to add this to the answer as well. Inside ChartDefaultView.ChartArea add this

 <telerik:ChartArea.AxisY>
     <telerik:AxisY AxisName="YourName" DefaultLabelFormat="#VAL{p}"/>
 </telerik:ChartArea.AxisY>
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top