DataLabels.ShowPercentage 属性

定义

要在图表中显示数据标签的百分比数值。 如果为 False,则隐藏该分类的名称。 读/写 Boolean

public:
 property bool ShowPercentage { bool get(); void set(bool value); };
public bool ShowPercentage { get; set; }
Public Property ShowPercentage As Boolean

属性值

注解

以程序方式访问数据标签之前,必须先激活图表,否则将出现运行错误。

适用于