Syntax

expression.HasDataLabel

expression A variable that represents a Point object.

Example

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

Visual Basic for Applications
With Charts("Chart1").SeriesCollection(3).Points(7) .HasDataLabel = True .ApplyDataLabels Type:=xlValue .DataLabel.Font.ColorIndex = 5 End With
has data label Has Data Label Property hasdata hasdatalabel hasdatalabel property Is there a switch that controls display of data labels? Return status of datalabels Turn on data labels?

See also: