2013-03-25 80 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>