---
id: "packages/active-charts/all-exports/crosshair-options"
title: "CrosshairOptions"
description: "CrosshairOptions: generated from the source of active-charts."
url: "/packages/active-charts/all-exports/crosshair-options"
locale: "en"
revision: "g0mvjxwj5c-88bdbe1c:crosshair-options"
---

# CrosshairOptions

Exported by `@workspace/active-charts`. Generated from the package source; part of [the index of every export](/packages/active-charts/all-exports).

## Types

**CrosshairOptions**

```ts
interface CrosshairOptions {
  enabled?: boolean;
  xLine?: boolean;
  yLine?: boolean;
  label?: boolean;
  stroke?: string;
  strokeWidth?: number;
  lineDash?: number[];
}
```

The crosshair guides through the addressed point. They always follow the
addressed point; the y readout uses the series' value semantics, the
notation of the tooltip and the axis.
