[英]telerik report chart percentage
how can i get similar result on Telerik Report with showing percentage instead of the Count value that is shown by default. 我如何在Telerik Report上获得类似的结果,而不是默认显示的是显示百分比或计数值。
i'm using C# in my application. 我在我的应用程序中使用C#。
thanks 谢谢
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 这里的关键是带有
RadiusFactor
的ItemLabelFormat
,您可以将其从中心移到想要的位置
Forgot to add this to the answer as well. 忘记也将其添加到答案中。 Inside
ChartDefaultView.ChartArea
add this 在
ChartDefaultView.ChartArea
里面添加此
<telerik:ChartArea.AxisY>
<telerik:AxisY AxisName="YourName" DefaultLabelFormat="#VAL{p}"/>
</telerik:ChartArea.AxisY>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.