Project

ChartForgeX

Render deterministic charts, dashboards, topology, hierarchy, and report visuals directly from .NET.

Stars 47
Forks 2
NuGet downloads 75,067
Release ChartForgeX-v2.0.0
Language: HTML Updated: 2026-10-12

API Reference

Class

HtmlChartCrosshairOptions

Namespace ChartForgeX.Interactivity.Html
Assembly ChartForgeX.Interactivity.Html
Modifiers sealed

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.

Constructors

public HtmlChartCrosshairOptions() #

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.