API Reference
HtmlChartCrosshairOptions
Configures HTML crosshair presentation independently of tooltip acquisition and palette.
Inheritance
- Object
- HtmlChartCrosshairOptions
Usage
Explore 2 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 2
Constructors
public HtmlChartCrosshairOptions() #Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
Properties
public Boolean ShowLabel { get; set; } #Gets or sets whether the crosshair includes a target label. The default is true for every palette. The ChartInteractionFeatures.Crosshair feature controls whether the guide is enabled.
public ChartColor? Stroke { get; set; } #Gets or sets the color of both guide lines. Null retains the palette's line color. A transparent color hides the lines while retaining the label and guide identity. Explicit line styling uses a crisp stroke without glow.
public Double? StrokeWidth { get; set; } #Gets or sets the finite, non-negative width of both guide lines in CSS pixels. Null retains the default width. Zero hides the lines without disabling the guide or its label.
Exceptions
ArgumentOutOfRangeException– The width is negative or non-finite.
public HtmlChartCrosshairLineStyle? LineStyle { get; set; } #Gets or sets the pattern of both guide lines. Null retains the palette's line pattern.
Exceptions
ArgumentOutOfRangeException– The line style is not a defined enum value.