DisplayUnitLabel Object

Axis
DisplayUnitLabel
Multiple objects

Represents a unit label on the value axis in the specified chart. Unit labels are useful for charting large values—for example, numbers in the millions or billions. You can make the chart more readable by using a single unit label instead of large numbers with strings of zeros next to the tick marks on the axis. This way, you need never have numbers of more than one or two digits by the tick marks.

Using the DisplayUnitLabel Object

Use the DisplayUnitLabel property to return the DisplayUnitLabel object. The following example sets the caption for the value axis in myChart to "Millions" and turns off automatic font scaling.

With myChart.Axes(xlValue).DisplayUnitLabel
    .Caption = "Millions"
    .AutoScaleFont = False
End With

Properties | Application Property | AutoScaleFont Property | Border Property | Caption Property | Creator Property | Fill Property | Font Property | HorizontalAlignment Property | Interior Property | Left Property | Name Property | Orientation Property | Parent Property | ReadingOrder Property | Shadow Property | Text Property | Top Property | VerticalAlignment Property

Methods | Delete Method

Parent Objects | Axis Object

Child Objects | Border Object | ChartFillFormat Object | Font Object | Interior Object