ShowLegendKey 属性

       

如果数据标签图例标示可见,则该值为 TrueBoolean 类型,可读写。

示例

本示例使第一个数据系列的数据标签显示数值和图例标示。

With myChart.SeriesCollection(1).DataLabels
    .ShowLegendKey = True
    .Type = xlShowValue
End With