Showing data as percentage values on Pie Chart. (Using RDLC)

匆匆过客 提交于 2020-02-06 05:40:27

问题


I am using RDLC reporting for showing pie chart in my C#.net application. I need to show values in percentage form on the pie chart. What expression should be used in order to show desired data? Please help me...


回答1:


right click on the labels of the chart, In the general tab choose #PERCENT for the label data




回答2:


To put the % value on each pie chart slice do this (as shown here):

  1. On the design surface, right-click on the pie and select Show Data Labels. The data labels should appear within each slice on the pie chart.
  2. On the design surface, right-click on the labels and select Series Label Properties. The Series Label Properties dialog box appears.
  3. Type #PERCENT for the Label data option.

Result:

If you are dealing with mutliple data fields feeding your pie, check out this.




回答3:


Before you right click on the pie chart fill the data fields and series fields first else you will not see show data labels.



来源:https://stackoverflow.com/questions/785770/showing-data-as-percentage-values-on-pie-chart-using-rdlc

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!