HtmlChartTooltipPositionOptionsFluent
ChartForgeX.Interactivity.Html
The fluent methods of HtmlChartTooltipPositionOptions, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.
Inheritance
- object
- HtmlChartTooltipPositionOptionsFluent
Methods
public static HtmlChartTooltipPositionOptions Anchor(HtmlChartTooltipPositionOptions htmlChartTooltipPositionOptions, HtmlChartTooltipAnchor value) #Sets HtmlChartTooltipPositionOptions.Anchor: Gets or sets the anchor. The default is HtmlChartTooltipAnchor.Pointer.
Parameters
- htmlChartTooltipPositionOptions ChartForgeX.Interactivity.Html.HtmlChartTooltipPositionOptions
- The instance.
- value ChartForgeX.Interactivity.Html.HtmlChartTooltipAnchor
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartTooltipPositionOptions { Anchor = value }; htmlChartTooltipPositionOptions.Anchor(value);public static HtmlChartTooltipPositionOptions Gap(HtmlChartTooltipPositionOptions htmlChartTooltipPositionOptions, double value) #Sets HtmlChartTooltipPositionOptions.Gap: Gets or sets the finite, non-negative gap in CSS pixels, applied on each directed axis. The default is 12; diagonal directions apply the gap both horizontally and vertically.
Parameters
- htmlChartTooltipPositionOptions ChartForgeX.Interactivity.Html.HtmlChartTooltipPositionOptions
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartTooltipPositionOptions { Gap = value }; htmlChartTooltipPositionOptions.Gap(value);public static HtmlChartTooltipPositionOptions OffsetX(HtmlChartTooltipPositionOptions htmlChartTooltipPositionOptions, double value) #Sets HtmlChartTooltipPositionOptions.OffsetX: Gets or sets a finite horizontal CSS pixel offset. Positive values move right. The default is zero.
Parameters
- htmlChartTooltipPositionOptions ChartForgeX.Interactivity.Html.HtmlChartTooltipPositionOptions
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartTooltipPositionOptions { OffsetX = value }; htmlChartTooltipPositionOptions.OffsetX(value);public static HtmlChartTooltipPositionOptions OffsetY(HtmlChartTooltipPositionOptions htmlChartTooltipPositionOptions, double value) #Sets HtmlChartTooltipPositionOptions.OffsetY: Gets or sets a finite vertical CSS pixel offset. Positive values move down. The default is zero.
Parameters
- htmlChartTooltipPositionOptions ChartForgeX.Interactivity.Html.HtmlChartTooltipPositionOptions
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartTooltipPositionOptions { OffsetY = value }; htmlChartTooltipPositionOptions.OffsetY(value);public static HtmlChartTooltipPositionOptions Placements(HtmlChartTooltipPositionOptions htmlChartTooltipPositionOptions, IReadOnlyList<HtmlChartTooltipPlacement> value) #Sets HtmlChartTooltipPositionOptions.Placements: Gets or sets a copied, read-only sequence of directions, tried in order against the browser viewport with an 8 CSS pixel inset. An assigned sequence clamps its first direction if none fits. Until assigned, the browser chooses family defaults: above-right for bars and right for lines, with opposite-side fallbacks. If none fits, automatic placement tries a clamped position that keeps the gap from the anchor. The initial sequence describes the general above-right fallback. Assigning a sequence makes that exact order authoritative, even if it equals the initial sequence.
Parameters
- htmlChartTooltipPositionOptions ChartForgeX.Interactivity.Html.HtmlChartTooltipPositionOptions
- The instance.
- value System.Collections.Generic.IReadOnlyList<ChartForgeX.Interactivity.Html.HtmlChartTooltipPlacement>
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartTooltipPositionOptions { Placements = value }; htmlChartTooltipPositionOptions.Placements(value);