IChartAxis.DisplayGrid

Syntax

DisplayGrid: Boolean;

Description

The DisplayGrid property determines visibility of a grid or additional scale tick marks depending on the selected mode.

Comments

The property is added instead of the IChart.DisplayGrid property that works as follows: when setting this property the ICahrtAxis.DisplayGrid properties are set for all existing axes. If at least one IChartAxis.DisplayGrid property is set to True, read-only property returns True.

To guarantee compatibility with the IChart.DisplayGrid property when loading old charts it is recommended to load the value of the IChart.DisplayGrid to ICahrtAxis.DisplayGrid for all existing axes, and use new ICahrtAxis.DisplayGrid properties when saving a chart.

Example of Use

See also:

IChartAxis