2013-03-25 78 views
1

我如何在Telerik报告上得到类似结果,显示百分比而不是默认显示的计数值。telerik报告图表百分比

我在我的应用程序中使用C#。

感谢

enter image description here

+0

看饼图。 – Offler 2013-03-25 10:36:28

+0

我已经能够显示价值不是百分比。即它显示2而不是20%和8而不是80%。我想将它转换为一个百分比。 – Kassem 2013-03-25 11:48:05

回答

1

这是怎么看我的应用程序

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

这里的关键是ItemLabelFormatRadiusFactor可以从中心

至于你要移动它

忘了添加这个答案以及。里面ChartDefaultView.ChartArea添加此

<telerik:ChartArea.AxisY> 
    <telerik:AxisY AxisName="YourName" DefaultLabelFormat="#VAL{p}"/> 
</telerik:ChartArea.AxisY>