MajorUnit Property Example

This example sets the major unit for the specified axis.

Set c = ChartSpace1.Constants
ChartSpace1.Charts(0).Axes(c.chAxisPositionLeft).MajorUnit = 7