Skip to content

CrosshairOptions class

Defines the appearance and the behavior of the crosshair that tracks the pointer over a chart.

Namespace: Eremex.AvaloniaUI.Charts
Assembly: Eremex.Avalonia.Charts.dll
NuGet Package: Eremex.Avalonia.Controls

Declaration

public class CrosshairOptions : ChartElement, ICrosshairOptions

Public Members

name description
CrosshairOptions() The default constructor.
ArgumentColor { get; set; } Gets or sets the color of the argument lines and labels.
ArgumentLineThickness { get; set; } Gets or sets the width of the argument lines, in device-independent units.
ArgumentTextColor { get; set; } Gets or sets the color of the text in the argument labels.
MaxPickDistance { 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 { get; set; } Gets or sets the distance between a series label and the axis it is attached to.
SeriesLabelItemSortMode { get; set; } Gets or sets the order in which the series appear in the crosshair labels.
SeriesLabelMode { get; set; } Gets or sets which series the crosshair shows the values of, and how their labels are combined.
SeriesLabelShowDelay { get; set; } Gets or sets how long the crosshair must stay on the same data before the series labels appear, in milliseconds.
ShowArgumentLabel { get; set; } Gets or sets whether the axes highlight the argument under the pointer.
ShowArgumentLine { get; set; } Gets or sets whether the lines that mark the argument under the pointer are shown.
ShowCrosshair { get; set; } Gets or sets whether the crosshair is shown when the pointer moves over the chart.
ShowValueLabel { get; set; } Gets or sets whether the axes highlight the value under the pointer.
ShowValueLine { get; set; } Gets or sets whether the lines that mark the value under the pointer are shown.
ValueColor { get; set; } Gets or sets the color of the value lines and labels.
ValueLineThickness { get; set; } Gets or sets the width of the value lines, in device-independent units.
ValueTextColor { get; set; } Gets or sets the color of the text in the value labels.

See Also

Used in articles