API Reference
HtmlChartTooltipPositionOptions
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
- Property HtmlChartTooltipOptions.Position
Constructors
public HtmlChartTooltipPositionOptions() #Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
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.