# HtmlChartTooltipOptionsFluent

The fluent methods of HtmlChartTooltipOptions, generated from its public properties: A property-named method sets a property and a singular-named method adds…

 Class  

`ChartForgeX.Interactivity.Html`

**Namespace**

`ChartForgeX.Interactivity.Html`

**Assembly**

`ChartForgeX.Interactivity.Html`

**Modifiers**

static

The fluent methods of [HtmlChartTooltipOptions](/api/chartforgex-interactivity-html-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

 Filter members   

    Show inherited   

 

## Methods

 `public static HtmlChartTooltipOptions DelayMilliseconds(HtmlChartTooltipOptions htmlChartTooltipOptions, int value)` [#](#method-delaymilliseconds-chartforgex-interactivity-html-htmlcharttooltipoptions-int32) 

Sets [HtmlChartTooltipOptions.DelayMilliseconds](/api/chartforgex-interactivity-html-htmlcharttooltipoptions/): 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 required**

The instance.

**value int required**

The value.

Returns

 `HtmlChartTooltipOptions` The same instance. 

Examples

```csharp
// 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)` [#](#method-mode-chartforgex-interactivity-html-htmlcharttooltipoptions-chartforgex-interactivity-html-htmlcharttooltipmode) 

Sets [HtmlChartTooltipOptions.Mode](/api/chartforgex-interactivity-html-htmlcharttooltipoptions/): Gets or sets the readout mode. The default is [HtmlChartTooltipMode.Auto](/api/chartforgex-interactivity-html-htmlcharttooltipmode/). Shared-x readouts fall back to one target when comparable observations are unavailable.

Parameters

**htmlChartTooltipOptions ChartForgeX.Interactivity.Html.HtmlChartTooltipOptions required**

The instance.

**value ChartForgeX.Interactivity.Html.HtmlChartTooltipMode required**

The value.

Returns

 `HtmlChartTooltipOptions` The same instance. 

Examples

```csharp
// 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)` [#](#method-pinonselect-chartforgex-interactivity-html-htmlcharttooltipoptions-boolean) 

Sets [HtmlChartTooltipOptions.PinOnSelect](/api/chartforgex-interactivity-html-htmlcharttooltipoptions/): 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 required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `HtmlChartTooltipOptions` The same instance. 

Examples

```csharp
// 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)` [#](#method-position-chartforgex-interactivity-html-htmlcharttooltipoptions-action-chartforgex-interactivity-html-htmlcharttooltippositionoptions) 

Configures [HtmlChartTooltipOptions.Position](/api/chartforgex-interactivity-html-htmlcharttooltipoptions/) in place: Gets the anchor, ordered placement and CSS pixel offset options.

Parameters

**htmlChartTooltipOptions ChartForgeX.Interactivity.Html.HtmlChartTooltipOptions required**

The instance.

**configure System.Action<ChartForgeX.Interactivity.Html.HtmlChartTooltipPositionOptions> required**

Configures the value.

Returns

 `HtmlChartTooltipOptions` The same instance. 

 `public static HtmlChartTooltipOptions Range(HtmlChartTooltipOptions htmlChartTooltipOptions, HtmlChartTooltipRange value)` [#](#method-range-chartforgex-interactivity-html-htmlcharttooltipoptions-chartforgex-interactivity-html-htmlcharttooltiprange) 

Sets [HtmlChartTooltipOptions.Range](/api/chartforgex-interactivity-html-htmlcharttooltipoptions/): Gets or sets the pointer acquisition range. The default is [HtmlChartTooltipRange.Auto](/api/chartforgex-interactivity-html-htmlcharttooltiprange/): 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](/api/chartforgex-interactivity-chartinteractionfeatures/) feature controls whether tooltips are enabled.

Parameters

**htmlChartTooltipOptions ChartForgeX.Interactivity.Html.HtmlChartTooltipOptions required**

The instance.

**value ChartForgeX.Interactivity.Html.HtmlChartTooltipRange required**

The value.

Returns

 `HtmlChartTooltipOptions` The same instance. 

Examples

```csharp
// 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)` [#](#method-template-chartforgex-interactivity-html-htmlcharttooltipoptions-string) 

Sets [HtmlChartTooltipOptions.Template](/api/chartforgex-interactivity-html-htmlcharttooltipoptions/): 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 required**

The instance.

**value string? required**

The value.

Returns

 `HtmlChartTooltipOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                               // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartTooltipOptions { Template = value };    htmlChartTooltipOptions.Template(value);
```

## Inherited Methods

 `public virtual bool Equals(object? obj)` [#](#method-equals-object) 

Inherited from object

Parameters

**obj object? required**

Returns

 `bool` 

 `public virtual int GetHashCode()` [#](#method-gethashcode) 

Inherited from object

Returns

 `int` 

 `public Type GetType()` [#](#method-gettype) 

Inherited from object

Returns

 `Type` 

 `public virtual string? ToString()` [#](#method-tostring) 

Inherited from object

Returns

 `string?` 

<!-- PowerForge markdown artifact sha256:A2F036A226A17226E4DB0D45EE62A5CA8FBBB9ABEE8A3DDBF413D6C0EBAFFCA6 -->
