如果数据点具有数据标签,则该值为 True。Boolean 类型,可读写。
本示例打开第三个数据系列的第七个数据点的数据标签,并将该数据标签的颜色设置为蓝色。
With myChart.SeriesCollection(3).Points(7) .HasDataLabel = True .ApplyDataLabels Type:=xlValue .DataLabel.Font.ColorIndex = 5 End With