HtmlChartTooltipOptionsFluent
ChartForgeX.Interactivity.Html
The fluent methods of HtmlChartTooltipOptions, 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
- HtmlChartTooltipOptionsFluent
Methods
public static HtmlChartTooltipOptions DelayMilliseconds(HtmlChartTooltipOptions htmlChartTooltipOptions, int value) #Sets HtmlChartTooltipOptions.DelayMilliseconds: Gets or sets how long a pointer target must remain acquired before its tooltip appears, in milliseconds. The default is zero (immediate). Values must be non-negative. Movement within the same target updates the tooltip position without restarting the delay. Keyboard focus and explicit pins are immediate.
Parameters
- htmlChartTooltipOptions ChartForgeX.Interactivity.Html.HtmlChartTooltipOptions
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartTooltipOptions { DelayMilliseconds = value }; htmlChartTooltipOptions.DelayMilliseconds(value);public static HtmlChartTooltipOptions Mode(HtmlChartTooltipOptions htmlChartTooltipOptions, HtmlChartTooltipMode value) #Sets HtmlChartTooltipOptions.Mode: Gets or sets the readout mode. The default is HtmlChartTooltipMode.Auto. Shared-x readouts fall back to one target when comparable observations are unavailable.
Parameters
- htmlChartTooltipOptions ChartForgeX.Interactivity.Html.HtmlChartTooltipOptions
- The instance.
- value ChartForgeX.Interactivity.Html.HtmlChartTooltipMode
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartTooltipOptions { Mode = value }; htmlChartTooltipOptions.Mode(value);public static HtmlChartTooltipOptions PinOnSelect(HtmlChartTooltipOptions htmlChartTooltipOptions, bool value = true) #Sets HtmlChartTooltipOptions.PinOnSelect: Gets or sets whether selecting a mark pins its readout. The default is true. Disabling pinning retains ordinary pointer and keyboard tooltips.
Parameters
- htmlChartTooltipOptions ChartForgeX.Interactivity.Html.HtmlChartTooltipOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartTooltipOptions { PinOnSelect = value }; htmlChartTooltipOptions.PinOnSelect(value);public static HtmlChartTooltipOptions Position(HtmlChartTooltipOptions htmlChartTooltipOptions, Action<HtmlChartTooltipPositionOptions> configure) #Configures HtmlChartTooltipOptions.Position in place: Gets the anchor, ordered placement and CSS pixel offset options.
Parameters
- htmlChartTooltipOptions ChartForgeX.Interactivity.Html.HtmlChartTooltipOptions
- The instance.
- configure System.Action<ChartForgeX.Interactivity.Html.HtmlChartTooltipPositionOptions>
- Configures the value.
public static HtmlChartTooltipOptions Range(HtmlChartTooltipOptions htmlChartTooltipOptions, HtmlChartTooltipRange value) #Sets HtmlChartTooltipOptions.Range: Gets or sets the pointer acquisition range. The default is HtmlChartTooltipRange.Auto: nearest category for line, area and bar charts, or nearest observation for other Cartesian charts, within 120 CSS pixels. Native hits, keyboard focus, and pinned readouts retain their target semantics. The ChartInteractionFeatures.Tooltips feature controls whether tooltips are enabled.
Parameters
- htmlChartTooltipOptions ChartForgeX.Interactivity.Html.HtmlChartTooltipOptions
- The instance.
- value ChartForgeX.Interactivity.Html.HtmlChartTooltipRange
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartTooltipOptions { Range = value }; htmlChartTooltipOptions.Range(value);public static HtmlChartTooltipOptions Template(HtmlChartTooltipOptions htmlChartTooltipOptions, string? value) #Sets HtmlChartTooltipOptions.Template: Gets or sets an optional plain-text tooltip template for saved HTML reports. The placeholders {title}, {series}, {category} and {value} insert the current formatted facts. Markup is displayed as text, never executed. A browser callback assigned to the chart section's cfxTooltipRenderer property takes precedence.
Parameters
- htmlChartTooltipOptions ChartForgeX.Interactivity.Html.HtmlChartTooltipOptions
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartTooltipOptions { Template = value }; htmlChartTooltipOptions.Template(value);