# crosshair

Bare crosshair or {} enables defaults. Object props and JSON attributes override options. Omit/remove the attribute to disable.

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

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

## Definition

| Item | Value |
| --- | --- |
| JavaScript property | `crosshair` |
| HTML attribute | Pass objects, arrays, and callbacks as JavaScript properties |
| Type | `CartesianCrosshairInput` |
| Default | `undefined` |

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

- [CartesianCrosshairInput](https://chart.syidax.com/docs/types/CartesianCrosshairInput.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-crosshair)
- [sy-area-chart](https://chart.syidax.com/docs/components/area.md#property-crosshair)
- [sy-column-chart](https://chart.syidax.com/docs/components/column.md#property-crosshair)
- [sy-bar-chart](https://chart.syidax.com/docs/components/bar.md#property-crosshair)
- [sy-scatter-chart](https://chart.syidax.com/docs/components/scatter.md#property-crosshair)
- [sy-bubble-chart](https://chart.syidax.com/docs/components/bubble.md#property-crosshair)
- [sy-radar-chart](https://chart.syidax.com/docs/components/radar.md#property-crosshair)
- [sy-lollipop-chart](https://chart.syidax.com/docs/components/lollipop.md#property-crosshair)
- [sy-dumbbell-chart](https://chart.syidax.com/docs/components/dumbbell.md#property-crosshair)
- [sy-tornado-chart](https://chart.syidax.com/docs/components/tornado.md#property-crosshair)
- [sy-dot-plot-chart](https://chart.syidax.com/docs/components/dot-plot.md#property-crosshair)
- [sy-variwide-chart](https://chart.syidax.com/docs/components/variwide.md#property-crosshair)
- [sy-marimekko-chart](https://chart.syidax.com/docs/components/marimekko.md#property-crosshair)
- [sy-waterfall-chart](https://chart.syidax.com/docs/components/waterfall.md#property-crosshair)
- [sy-pareto-chart](https://chart.syidax.com/docs/components/pareto.md#property-crosshair)
- [sy-histogram-chart](https://chart.syidax.com/docs/components/histogram.md#property-crosshair)
- [sy-box-plot-chart](https://chart.syidax.com/docs/components/box-plot.md#property-crosshair)
- [sy-error-bar-chart](https://chart.syidax.com/docs/components/error-bar.md#property-crosshair)
- [sy-heatmap](https://chart.syidax.com/docs/components/heatmap.md#property-crosshair)
- [sy-density-map](https://chart.syidax.com/docs/components/density-map.md#property-crosshair)
- [sy-spectrogram](https://chart.syidax.com/docs/components/spectrogram.md#property-crosshair)
- [sy-pictorial-chart](https://chart.syidax.com/docs/components/pictorial.md#property-crosshair)
- [sy-theme-river](https://chart.syidax.com/docs/components/theme-river.md#property-crosshair)
- [sy-parallel-coordinates](https://chart.syidax.com/docs/components/parallel-coordinates.md#property-crosshair)
- [sy-geo-map](https://chart.syidax.com/docs/components/geo-map.md#property-crosshair)
- [sy-flow-lines](https://chart.syidax.com/docs/components/flow-lines.md#property-crosshair)
- [sy-candlestick-chart](https://chart.syidax.com/docs/components/candlestick.md#property-crosshair)
- [sy-ohlc-chart](https://chart.syidax.com/docs/components/ohlc.md#property-crosshair)
- [sy-stock-chart](https://chart.syidax.com/docs/components/stock-chart.md#property-crosshair)
- [sy-surface-3d](https://chart.syidax.com/docs/components/surface-3d.md#property-crosshair)
- [sy-bar-3d](https://chart.syidax.com/docs/components/bar-3d.md#property-crosshair)
- [sy-scatter-3d](https://chart.syidax.com/docs/components/scatter-3d.md#property-crosshair)
- [sy-gantt-chart](https://chart.syidax.com/docs/components/gantt.md#property-crosshair)
