# ChartInteractionScenarioFocusMode

Controls whether a scenario preserves surrounding context or spotlights only its targets.

 Enum  

`ChartForgeX.Interactivity`

**Namespace**

`ChartForgeX.Interactivity`

**Assembly**

`ChartForgeX.Interactivity`

**Source**

[ChartInteractionScenario.cs:108](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/ChartInteractionScenario.cs#L108)

**Base**

`Enum`

**Implements**

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

**Modifiers**

sealed

Controls whether a scenario preserves surrounding context or spotlights only its targets.

## Inheritance

- Enum
- ChartInteractionScenarioFocusMode

## Usage

 Explore 5 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 3

- Property [ChartInteractionScenario.FocusMode](/api/chartforgex-interactivity-chartinteractionscenario/#property-focusmode)
- Field [ChartInteractionScenarioFocusMode.Highlight](/api/chartforgex-interactivity-chartinteractionscenariofocusmode/#field-highlight)
- Field [ChartInteractionScenarioFocusMode.Spotlight](/api/chartforgex-interactivity-chartinteractionscenariofocusmode/#field-spotlight)

### Accepted by parameters 2

- Extension method [ChartInteractionScenario.FocusMode](/api/chartforgex-interactivity-chartinteractionscenario/#extension-focusmode-chartforgex-interactivity-chartinteractionscenario-chartforgex-interactivity-chartinteractionscenariofocusmode) parameter `value`
- Method [ChartInteractionScenarioFluent.FocusMode](/api/chartforgex-interactivity-chartinteractionscenariofluent/#method-focusmode-chartforgex-interactivity-chartinteractionscenario-chartforgex-interactivity-chartinteractionscenariofocusmode) 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 ChartInteractionScenarioFocusMode Highlight` [#](#field-highlight) 

[ChartInteractionScenario.cs:110](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/ChartInteractionScenario.cs#L110)

Emphasizes active targets while retaining the surrounding visual context.

Value: `0`

 `public const ChartInteractionScenarioFocusMode Spotlight` [#](#field-spotlight) 

[ChartInteractionScenario.cs:112](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/ChartInteractionScenario.cs#L112)

Dims non-target data marks to create a stronger focused review.

Value: `1`

<!-- PowerForge markdown artifact sha256:46BA67E6078B67167E9E7D875883E0ACE423ACB88A65EA98BFE4045E7284A095 -->
