An AlignObjectsToGridLinesEnum expression that indicates whether the elements on
the surface are aligned to none, minor or major grid lines.
By default, the AlignObjectsToGridLines property is
exAlignObjectsToNone, which indicates that no alignment is performed, when the
elements are shown on the surface. Use the AlignObjectsToGridLines property to
align the elements to the grid lines. Use the MinorGridWidth
/ MinorGridHeight property to
specify the how minor grid lines are displayed/aligned. Use the MajorGridWidth
/ MajorGridHeight property to
specify the how major grid lines are displayed/aligned. The AutoSize
property of the Element specifies whether the element's size is computed based
on the element's content. The CaptionAlign
property specifies the alignment of the element's caption. Use the AxisStyle
property to hide the axis lines or to display with a different style. Use the AxisColor
property to specify the color to show the axis lines.
The following screen shot shows the axis and grid lines: