# CrosshairOptions class

Defines the appearance and the behavior of the crosshair that tracks the pointer over a chart.

**Namespace:** [`Eremex.AvaloniaUI.Charts`](./index.md)  
**Assembly:** `Eremex.Avalonia.Charts.dll`  
**NuGet Package:** [Eremex.Avalonia.Controls](https://www.nuget.org/packages/Eremex.Avalonia.Controls)

## Declaration

```csharp
public class CrosshairOptions : ChartElement, ICrosshairOptions
```

## Public Members

| name | description |
| --- | --- |
| [CrosshairOptions](CrosshairOptions/CrosshairOptions.md)() | The default constructor. |
| [ArgumentColor](CrosshairOptions/ArgumentColor.md) { get; set; } | Gets or sets the color of the argument lines and labels. |
| [ArgumentLineThickness](CrosshairOptions/ArgumentLineThickness.md) { get; set; } | Gets or sets the width of the argument lines, in device-independent units. |
| [ArgumentTextColor](CrosshairOptions/ArgumentTextColor.md) { get; set; } | Gets or sets the color of the text in the argument labels. |
| [MaxPickDistance](CrosshairOptions/MaxPickDistance.md) { get; set; } | Gets or sets the largest distance from the pointer at which a data point is still picked by the crosshair, in device-independent units. Increase this value for sparse series whose points do not sit directly under the pointer. |
| [SeriesLabelIndent](CrosshairOptions/SeriesLabelIndent.md) { get; set; } | Gets or sets the distance between a series label and the axis it is attached to. |
| [SeriesLabelItemSortMode](CrosshairOptions/SeriesLabelItemSortMode.md) { get; set; } | Gets or sets the order in which the series appear in the crosshair labels. |
| [SeriesLabelMode](CrosshairOptions/SeriesLabelMode.md) { get; set; } | Gets or sets which series the crosshair shows the values of, and how their labels are combined. |
| [SeriesLabelShowDelay](CrosshairOptions/SeriesLabelShowDelay.md) { get; set; } | Gets or sets how long the crosshair must stay on the same data before the series labels appear, in milliseconds. |
| [ShowArgumentLabel](CrosshairOptions/ShowArgumentLabel.md) { get; set; } | Gets or sets whether the axes highlight the argument under the pointer. |
| [ShowArgumentLine](CrosshairOptions/ShowArgumentLine.md) { get; set; } | Gets or sets whether the lines that mark the argument under the pointer are shown. |
| [ShowCrosshair](CrosshairOptions/ShowCrosshair.md) { get; set; } | Gets or sets whether the crosshair is shown when the pointer moves over the chart. |
| [ShowValueLabel](CrosshairOptions/ShowValueLabel.md) { get; set; } | Gets or sets whether the axes highlight the value under the pointer. |
| [ShowValueLine](CrosshairOptions/ShowValueLine.md) { get; set; } | Gets or sets whether the lines that mark the value under the pointer are shown. |
| [ValueColor](CrosshairOptions/ValueColor.md) { get; set; } | Gets or sets the color of the value lines and labels. |
| [ValueLineThickness](CrosshairOptions/ValueLineThickness.md) { get; set; } | Gets or sets the width of the value lines, in device-independent units. |
| [ValueTextColor](CrosshairOptions/ValueTextColor.md) { get; set; } | Gets or sets the color of the text in the value labels. |

## See Also

* class [ChartElement](./ChartElement.md)
* namespace [Eremex.AvaloniaUI.Charts](./index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Avalonia.Charts.dll -->
