Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MSChart DataPointLabel LocationType

Status
Not open for further replies.

norason

Programmer
Joined
Jan 28, 2009
Messages
139
Location
US
Is there a way to change the DataPoint LocationType on an every other point basis? For example, for the first data point, the location type would be above the point, for the second it woul be a below the point, and so on?


With .Item(1).DataPoints(-1)
.DataPointLabel.LocationType = VtChLabelLocationTypeAbovePoint
.DataPointLabel.VtFont.VtColor.Set 0, 0, 0 '# black text
.Brush.FillColor.Set 255, 0, 0 '# red line
End With

Thanks,

Gary

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top