HtmlChartTooltipOptions
ChartForgeX.Interactivity.Html
Configures HTML tooltip content, acquisition, timing and positioning without enabling interaction features.
Inheritance
- object
- HtmlChartTooltipOptions
Usage
Explore 30 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 14
- Property HtmlChartInteractionOptions.Tooltip
- Extension method HtmlChartTooltipOptions.DelayMilliseconds
- Extension method HtmlChartTooltipOptions.Mode
- Extension method HtmlChartTooltipOptions.PinOnSelect
- Extension method HtmlChartTooltipOptions.Position
- Extension method HtmlChartTooltipOptions.Range
- Extension method HtmlChartTooltipOptions.Template
- Method HtmlChartTooltipOptionsFluent.DelayMilliseconds
- Method HtmlChartTooltipOptionsFluent.Mode
- Method HtmlChartTooltipOptionsFluent.PinOnSelect
- Method HtmlChartTooltipOptionsFluent.Position
- Method HtmlChartTooltipOptionsFluent.Range
- Method HtmlChartTooltipOptionsFluent.Template
- Property HtmlInteractiveDashboardOptions.Tooltip
Accepted by parameters 16
- Extension method HtmlChartInteractionOptions.Tooltip
- Method HtmlChartInteractionOptionsFluent.Tooltip
- Extension method HtmlChartTooltipOptions.DelayMilliseconds
- Extension method HtmlChartTooltipOptions.Mode
- Extension method HtmlChartTooltipOptions.PinOnSelect
- Extension method HtmlChartTooltipOptions.Position
- Extension method HtmlChartTooltipOptions.Range
- Extension method HtmlChartTooltipOptions.Template
- Method HtmlChartTooltipOptionsFluent.DelayMilliseconds
- Method HtmlChartTooltipOptionsFluent.Mode
- Method HtmlChartTooltipOptionsFluent.PinOnSelect
- Method HtmlChartTooltipOptionsFluent.Position
- Method HtmlChartTooltipOptionsFluent.Range
- Method HtmlChartTooltipOptionsFluent.Template
- Extension method HtmlInteractiveDashboardOptions.Tooltip
- Method HtmlInteractiveDashboardOptionsFluent.Tooltip
Constructors
public HtmlChartTooltipOptions() #Inherited Methods
Properties
public bool PinOnSelect { get; set; } #Gets or sets whether selecting a mark pins its readout. The default is true. Disabling pinning retains ordinary pointer and keyboard tooltips.
public HtmlChartTooltipMode Mode { get; set; } #Gets or sets the readout mode. The default is HtmlChartTooltipMode.Auto. Shared-x readouts fall back to one target when comparable observations are unavailable.
public HtmlChartTooltipRange Range { get; set; } #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.
public int DelayMilliseconds { get; set; } #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.
public string? Template { get; set; } #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.
public HtmlChartTooltipPositionOptions Position { get; } #Gets the anchor, ordered placement and CSS pixel offset options.
Extension 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);