# HtmlChartTooltipPlacement

Specifies a tooltip direction relative to its anchor's screen bounds.

 Enum  

`ChartForgeX.Interactivity.Html`

**Namespace**

`ChartForgeX.Interactivity.Html`

**Assembly**

`ChartForgeX.Interactivity.Html`

**Source**

[HtmlChartTooltipPlacement.cs:4](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity.Html/HtmlChartTooltipPlacement.cs#L4)

**Base**

`Enum`

**Implements**

 `IComparable` `ISpanFormattable` `IFormattable` `IConvertible` 

**Modifiers**

sealed

Specifies a tooltip direction relative to its anchor's screen bounds.

## Inheritance

- Enum
- HtmlChartTooltipPlacement

## Usage

 Explore 11 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 9

- Field [HtmlChartTooltipPlacement.Bottom](/api/chartforgex-interactivity-html-htmlcharttooltipplacement/#field-bottom)
- Field [HtmlChartTooltipPlacement.BottomLeft](/api/chartforgex-interactivity-html-htmlcharttooltipplacement/#field-bottomleft)
- Field [HtmlChartTooltipPlacement.BottomRight](/api/chartforgex-interactivity-html-htmlcharttooltipplacement/#field-bottomright)
- Field [HtmlChartTooltipPlacement.Left](/api/chartforgex-interactivity-html-htmlcharttooltipplacement/#field-left)
- Field [HtmlChartTooltipPlacement.Right](/api/chartforgex-interactivity-html-htmlcharttooltipplacement/#field-right)
- Field [HtmlChartTooltipPlacement.Top](/api/chartforgex-interactivity-html-htmlcharttooltipplacement/#field-top)
- Field [HtmlChartTooltipPlacement.TopLeft](/api/chartforgex-interactivity-html-htmlcharttooltipplacement/#field-topleft)
- Field [HtmlChartTooltipPlacement.TopRight](/api/chartforgex-interactivity-html-htmlcharttooltipplacement/#field-topright)
- Property [HtmlChartTooltipPositionOptions.Placements](/api/chartforgex-interactivity-html-htmlcharttooltippositionoptions/#property-placements)

### Accepted by parameters 2

- Extension method [HtmlChartTooltipPositionOptions.Placements](/api/chartforgex-interactivity-html-htmlcharttooltippositionoptions/#extension-placements-chartforgex-interactivity-html-htmlcharttooltippositionoptions-collections-generic-ireadonlylist-chartforgex-interactivity-html-htmlcharttooltipplacement) parameter `value`
- Method [HtmlChartTooltipPositionOptionsFluent.Placements](/api/chartforgex-interactivity-html-htmlcharttooltippositionoptionsfluent/#method-placements-chartforgex-interactivity-html-htmlcharttooltippositionoptions-collections-generic-ireadonlylist-chartforgex-interactivity-html-htmlcharttooltipplacement) parameter `value`

 Filter members   

    Show inherited   

 

## Inherited Methods

 `public int CompareTo(object? target)` [#](#method-compareto-object) 

Inherited from Enum

Parameters

**target object? required**

Returns

 `int` 

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

Inherited from Enum

Parameters

**obj object? required**

Returns

 `bool` 

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

Inherited from Enum

Returns

 `int` 

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

Inherited from object

Returns

 `Type` 

 `public TypeCode GetTypeCode()` [#](#method-gettypecode) 

Inherited from Enum

Returns

 `TypeCode` 

 `public bool HasFlag(Enum flag)` [#](#method-hasflag-enum) 

Inherited from Enum

Parameters

**flag Enum required**

Returns

 `bool` 

 ToString 4 overloads 

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

Inherited from Enum

Returns

 `string` 

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

Inherited from Enum

Parameters

**format string? required**

Returns

 `string` 

 `public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider) 

Inherited from Enum

 `Obsolete("The provider argument is not used. Use ToString() instead.")` 

Parameters

**provider IFormatProvider? required**

Returns

 `string` 

 `public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider) 

Inherited from Enum

 `Obsolete("The provider argument is not used. Use ToString(String) instead.")` 

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

 `string` 

## Values

 `public const HtmlChartTooltipPlacement Top` [#](#field-top) 

[HtmlChartTooltipPlacement.cs:6](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity.Html/HtmlChartTooltipPlacement.cs#L6)

Centres the tooltip above the anchor.

Value: `0`

 `public const HtmlChartTooltipPlacement TopRight` [#](#field-topright) 

[HtmlChartTooltipPlacement.cs:8](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity.Html/HtmlChartTooltipPlacement.cs#L8)

Places the tooltip above and to the right of the anchor.

Value: `1`

 `public const HtmlChartTooltipPlacement Right` [#](#field-right) 

[HtmlChartTooltipPlacement.cs:10](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity.Html/HtmlChartTooltipPlacement.cs#L10)

Centres the tooltip to the right of the anchor.

Value: `2`

 `public const HtmlChartTooltipPlacement BottomRight` [#](#field-bottomright) 

[HtmlChartTooltipPlacement.cs:12](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity.Html/HtmlChartTooltipPlacement.cs#L12)

Places the tooltip below and to the right of the anchor.

Value: `3`

 `public const HtmlChartTooltipPlacement Bottom` [#](#field-bottom) 

[HtmlChartTooltipPlacement.cs:14](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity.Html/HtmlChartTooltipPlacement.cs#L14)

Centres the tooltip below the anchor.

Value: `4`

 `public const HtmlChartTooltipPlacement BottomLeft` [#](#field-bottomleft) 

[HtmlChartTooltipPlacement.cs:16](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity.Html/HtmlChartTooltipPlacement.cs#L16)

Places the tooltip below and to the left of the anchor.

Value: `5`

 `public const HtmlChartTooltipPlacement Left` [#](#field-left) 

[HtmlChartTooltipPlacement.cs:18](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity.Html/HtmlChartTooltipPlacement.cs#L18)

Centres the tooltip to the left of the anchor.

Value: `6`

 `public const HtmlChartTooltipPlacement TopLeft` [#](#field-topleft) 

[HtmlChartTooltipPlacement.cs:20](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity.Html/HtmlChartTooltipPlacement.cs#L20)

Places the tooltip above and to the left of the anchor.

Value: `7`

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