ShowLabel (Property)

Applies To:

LeftAxis object, RightAxis object, XAxisLabel object, ZAxisLabel object, TrendLine object

Description:

Displays labels associated with an axis, and trend line object.

Action:

Read-write, Boolean

Example:

This example shows how to show all the labels for the various chart objects:

ActiveDocument.Sections["Chart"].Activate()
ActiveSection.ValuesAxis.RightAxis.ShowLabel = true
ActiveSection.LabelsAxis.XAxis.ShowLabel = true
ActiveSection.ValuesAxis.LeftAxis.ShowLabel = true
ActiveSection.LabelsAxis.ZAxis.ShowLabel = true