1

我正在使用 RDLC 报告在我的 C#.net 应用程序中显示饼图。我需要在饼图上以百分比形式显示值。应该使用什么表达式来显示所需的数据?请帮我...

4

3 回答 3

4

右键单击图表的标签,在常规选项卡中选择 #PERCENT 作为标签数据

于 2010-11-07T06:44:46.153 回答
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:

enter image description here

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 回答