Expand Minimize

HasDisplayUnitLabel Property

True if the label specified by the DisplayUnit or DisplayUnitCustom property is displayed on the value axis. False if no units are displayed. The default value is True. Read/write Boolean.

This example sets the units on the value axis in myChart to increments of 500 but hides the unit label itself.

With myChart.Axes(xlValue) 
 .DisplayUnit = xlCustom 
 .DisplayUnitCustom = 500 
 .AxisTitle.Caption = "Rebate Amounts" 
 .HasDisplayUnitLabel = False 
End With
© 2015 Microsoft