我正在使用 RDLC 报告在我的 C#.net 应用程序中显示饼图。我需要在饼图上以百分比形式显示值。应该使用什么表达式来显示所需的数据?请帮我...
ihcarp208
问问题
9985 次
3 回答
4
右键单击图表的标签,在常规选项卡中选择 #PERCENT 作为标签数据
于 2010-11-07T06:44:46.153 回答
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.
于 2013-03-19T16:27:08.430 回答
0
在您右键单击饼图之前先填充数据字段和系列字段,否则您将看不到显示数据标签。
于 2019-03-26T19:50:20.590 回答