# gridLines

Allowed values: auto, off. Default: undefined.

Canonical: https://chart.syidax.com/docs/options/gridLines/

<a id="definition"></a>

## Definition

| Item | Value |
| --- | --- |
| JavaScript property | `gridLines` |
| HTML attribute | Pass objects, arrays, and callbacks as JavaScript properties |
| Type | `CartesianGridLinesInput` |
| Default | `undefined` |
| Literals in the type | `auto`, `off` |

undefined means this property was not explicitly set. The effective value may depend on the chart type and other settings.

- [CartesianGridLinesInput](https://chart.syidax.com/docs/types/CartesianGridLinesInput.md) — Type definition

<a id="related"></a>

## Related documentation

A property with the same name may have different types and defaults across charts. When using a direct tag, follow that chart's documentation below.

- [Shared facade and direct tags](https://chart.syidax.com/docs/concepts.md)
- [sy-line-chart](https://chart.syidax.com/docs/components/line.md#property-gridLines)
- [sy-area-chart](https://chart.syidax.com/docs/components/area.md#property-gridLines)
- [sy-column-chart](https://chart.syidax.com/docs/components/column.md#property-gridLines)
- [sy-bar-chart](https://chart.syidax.com/docs/components/bar.md#property-gridLines)
- [sy-scatter-chart](https://chart.syidax.com/docs/components/scatter.md#property-gridLines)
- [sy-bubble-chart](https://chart.syidax.com/docs/components/bubble.md#property-gridLines)
- [sy-lollipop-chart](https://chart.syidax.com/docs/components/lollipop.md#property-gridLines)
- [sy-dumbbell-chart](https://chart.syidax.com/docs/components/dumbbell.md#property-gridLines)
- [sy-tornado-chart](https://chart.syidax.com/docs/components/tornado.md#property-gridLines)
- [sy-dot-plot-chart](https://chart.syidax.com/docs/components/dot-plot.md#property-gridLines)
- [sy-variwide-chart](https://chart.syidax.com/docs/components/variwide.md#property-gridLines)
- [sy-marimekko-chart](https://chart.syidax.com/docs/components/marimekko.md#property-gridLines)
- [sy-waterfall-chart](https://chart.syidax.com/docs/components/waterfall.md#property-gridLines)
- [sy-pareto-chart](https://chart.syidax.com/docs/components/pareto.md#property-gridLines)
- [sy-histogram-chart](https://chart.syidax.com/docs/components/histogram.md#property-gridLines)
- [sy-box-plot-chart](https://chart.syidax.com/docs/components/box-plot.md#property-gridLines)
- [sy-error-bar-chart](https://chart.syidax.com/docs/components/error-bar.md#property-gridLines)
- [sy-heatmap](https://chart.syidax.com/docs/components/heatmap.md#property-gridLines)
- [sy-density-map](https://chart.syidax.com/docs/components/density-map.md#property-gridLines)
- [sy-spectrogram](https://chart.syidax.com/docs/components/spectrogram.md#property-gridLines)
- [sy-pictorial-chart](https://chart.syidax.com/docs/components/pictorial.md#property-gridLines)
- [sy-candlestick-chart](https://chart.syidax.com/docs/components/candlestick.md#property-gridLines)
- [sy-ohlc-chart](https://chart.syidax.com/docs/components/ohlc.md#property-gridLines)
