Expand Minimize

HasDataLabel Property

True if the point has a data label. Read/write Boolean.

This example turns on the data label for point seven in series three, and then it sets the data label color to blue.

With myChart.SeriesCollection(3).Points(7) 
 .HasDataLabel = True 
 .ApplyDataLabels Type:=xlValue 
 .DataLabel.Font.ColorIndex = 5 
End With
Show:
© 2014 Microsoft