yGridStyle

Sets the Y-axis grid style. A grid line is drawn at each axis tick.

Type

A Line Style constant

Example

Chart1.yGridStyle = Chart.DOT_LINE;
Chart1.xGridStyle = Chart.THICK_LINE;

yGridStyle 1

Either syntax below can be used in component script:

yGridStyle          // unqualified
Chart1.yGridStyle   // qualified

For onInit/onRefresh scripts, and for component and property scripts on other components, the second (qualified) form is required.