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

HtmlChartTooltipPositionOptions

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

Configures HTML tooltip anchoring, ordered placement fallback, and screen offsets.

Inheritance

  • Object
  • HtmlChartTooltipPositionOptions

Usage

Explore 1 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 1

Constructors

public HtmlChartTooltipPositionOptions() #

Properties

public HtmlChartTooltipAnchor Anchor { get; set; } #

Gets or sets the anchor. The default is HtmlChartTooltipAnchor.Pointer.

Exceptions

  • ArgumentOutOfRangeException – The anchor is not a defined enum value.
public IReadOnlyList<HtmlChartTooltipPlacement> Placements { get; set; } #

Gets or sets a copied, read-only sequence of directions, tried in order against the browser viewport with an 8 CSS pixel inset. If none fits, the first direction is clamped to that viewport. The default contains only HtmlChartTooltipPlacement.BottomRight.

Exceptions

  • ArgumentNullException – The sequence is null.
  • ArgumentException – The sequence is empty.
  • ArgumentOutOfRangeException – A direction is not a defined enum value.
public Double Gap { get; set; } #

Gets or sets the finite, non-negative gap in CSS pixels, applied on each directed axis. The default is 14; diagonal directions apply the gap both horizontally and vertically.

Exceptions

  • ArgumentOutOfRangeException – The gap is negative or non-finite.
public Double OffsetX { get; set; } #

Gets or sets a finite horizontal CSS pixel offset. Positive values move right. The default is zero.

Exceptions

  • ArgumentOutOfRangeException – The offset is non-finite.
public Double OffsetY { get; set; } #

Gets or sets a finite vertical CSS pixel offset. Positive values move down. The default is zero.

Exceptions

  • ArgumentOutOfRangeException – The offset is non-finite.