问题
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):
- 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.
- On the design surface, right-click on the labels and select Series Label Properties. The Series Label Properties dialog box appears.
- 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