# ChartInteractionOptionsFluent

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

 Class  

`ChartForgeX.Interactivity`

**Namespace**

`ChartForgeX.Interactivity`

**Assembly**

`ChartForgeX.Interactivity`

**Modifiers**

static

The fluent methods of [ChartInteractionOptions](/api/chartforgex-interactivity-chartinteractionoptions/), 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
- ChartInteractionOptionsFluent

 Filter members   

    Show inherited   

 

## Methods

 `public static ChartInteractionOptions ActiveScenarioId(ChartInteractionOptions chartInteractionOptions, string? value)` [#](#method-activescenarioid-chartforgex-interactivity-chartinteractionoptions-string) 

Sets [ChartInteractionOptions.ActiveScenarioId](/api/chartforgex-interactivity-chartinteractionoptions/): Gets or sets the initial active scenario id.

Parameters

**chartInteractionOptions ChartForgeX.Interactivity.ChartInteractionOptions required**

The instance.

**value string? required**

The value.

Returns

 `ChartInteractionOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                                  // C# fluent
new global::ChartForgeX.Interactivity.ChartInteractionOptions { ActiveScenarioId = value };    chartInteractionOptions.ActiveScenarioId(value);
```

 `public static ChartInteractionOptions BrushAxis(ChartInteractionOptions chartInteractionOptions, ChartBrushAxis value)` [#](#method-brushaxis-chartforgex-interactivity-chartinteractionoptions-chartforgex-interactivity-chartbrushaxis) 

Sets [ChartInteractionOptions.BrushAxis](/api/chartforgex-interactivity-chartinteractionoptions/): Gets or sets whether a brush spans both plot axes or only the horizontal axis.

Parameters

**chartInteractionOptions ChartForgeX.Interactivity.ChartInteractionOptions required**

The instance.

**value ChartForgeX.Interactivity.ChartBrushAxis required**

The value.

Returns

 `ChartInteractionOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                           // C# fluent
new global::ChartForgeX.Interactivity.ChartInteractionOptions { BrushAxis = value };    chartInteractionOptions.BrushAxis(value);
```

 `public static ChartInteractionOptions ChartId(ChartInteractionOptions chartInteractionOptions, string? value)` [#](#method-chartid-chartforgex-interactivity-chartinteractionoptions-string) 

Sets [ChartInteractionOptions.ChartId](/api/chartforgex-interactivity-chartinteractionoptions/): Gets or sets a stable chart identifier used by host adapters for DOM IDs, chart registries, or event routing.

Parameters

**chartInteractionOptions ChartForgeX.Interactivity.ChartInteractionOptions required**

The instance.

**value string? required**

The value.

Returns

 `ChartInteractionOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                         // C# fluent
new global::ChartForgeX.Interactivity.ChartInteractionOptions { ChartId = value };    chartInteractionOptions.ChartId(value);
```

 `public static ChartInteractionOptions EnableDeepLinkState(ChartInteractionOptions chartInteractionOptions, bool value = true)` [#](#method-enabledeeplinkstate-chartforgex-interactivity-chartinteractionoptions-boolean) 

Sets [ChartInteractionOptions.EnableDeepLinkState](/api/chartforgex-interactivity-chartinteractionoptions/): Gets or sets a value indicating whether adapters may synchronize interaction state with URL or host deep links.

Parameters

**chartInteractionOptions ChartForgeX.Interactivity.ChartInteractionOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `ChartInteractionOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                                     // C# fluent
new global::ChartForgeX.Interactivity.ChartInteractionOptions { EnableDeepLinkState = value };    chartInteractionOptions.EnableDeepLinkState(value);
```

 `public static ChartInteractionOptions Features(ChartInteractionOptions chartInteractionOptions, ChartInteractionFeatures value)` [#](#method-features-chartforgex-interactivity-chartinteractionoptions-chartforgex-interactivity-chartinteractionfeatures) 

Sets [ChartInteractionOptions.Features](/api/chartforgex-interactivity-chartinteractionoptions/): Gets or sets the enabled interaction feature flags.

Parameters

**chartInteractionOptions ChartForgeX.Interactivity.ChartInteractionOptions required**

The instance.

**value ChartForgeX.Interactivity.ChartInteractionFeatures required**

The value.

Returns

 `ChartInteractionOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                          // C# fluent
new global::ChartForgeX.Interactivity.ChartInteractionOptions { Features = value };    chartInteractionOptions.Features(value);
```

 `public static ChartInteractionOptions GroupName(ChartInteractionOptions chartInteractionOptions, string? value)` [#](#method-groupname-chartforgex-interactivity-chartinteractionoptions-string) 

Sets [ChartInteractionOptions.GroupName](/api/chartforgex-interactivity-chartinteractionoptions/): Gets or sets the optional synchronized-chart group name.

Parameters

**chartInteractionOptions ChartForgeX.Interactivity.ChartInteractionOptions required**

The instance.

**value string? required**

The value.

Returns

 `ChartInteractionOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                           // C# fluent
new global::ChartForgeX.Interactivity.ChartInteractionOptions { GroupName = value };    chartInteractionOptions.GroupName(value);
```

 Scenario 2 overloads 

 `public static ChartInteractionOptions Scenario(ChartInteractionOptions chartInteractionOptions, ChartInteractionScenario item)` [#](#method-scenario-chartforgex-interactivity-chartinteractionoptions-chartforgex-interactivity-chartinteractionscenario) 

Adds an item to [ChartInteractionOptions.Scenarios](/api/chartforgex-interactivity-chartinteractionoptions/): Gets interaction scenarios that host adapters may expose as alternate chart paths, flows, or analytical states.

Parameters

**chartInteractionOptions ChartForgeX.Interactivity.ChartInteractionOptions required**

The instance.

**item ChartForgeX.Interactivity.ChartInteractionScenario required**

The item.

Returns

 `ChartInteractionOptions` The same instance. 

 `public static ChartInteractionOptions Scenario(ChartInteractionOptions chartInteractionOptions, Action<ChartInteractionScenario> configure)` [#](#method-scenario-chartforgex-interactivity-chartinteractionoptions-action-chartforgex-interactivity-chartinteractionscenario) 

Creates an item, configures it and adds it to [ChartInteractionOptions.Scenarios](/api/chartforgex-interactivity-chartinteractionoptions/): Gets interaction scenarios that host adapters may expose as alternate chart paths, flows, or analytical states.

Parameters

**chartInteractionOptions ChartForgeX.Interactivity.ChartInteractionOptions required**

The instance.

**configure System.Action<ChartForgeX.Interactivity.ChartInteractionScenario> required**

Configures the new item before it is added.

Returns

 `ChartInteractionOptions` The same instance. 

 `public static ChartInteractionOptions Scenarios(ChartInteractionOptions chartInteractionOptions, IEnumerable<ChartInteractionScenario> items)` [#](#method-scenarios-chartforgex-interactivity-chartinteractionoptions-collections-generic-ienumerable-chartforgex-interactivity-chartinteractionscenario) 

Adds items to [ChartInteractionOptions.Scenarios](/api/chartforgex-interactivity-chartinteractionoptions/): Gets interaction scenarios that host adapters may expose as alternate chart paths, flows, or analytical states.

Parameters

**chartInteractionOptions ChartForgeX.Interactivity.ChartInteractionOptions required**

The instance.

**items System.Collections.Generic.IEnumerable<ChartForgeX.Interactivity.ChartInteractionScenario> required**

The items, in order.

Returns

 `ChartInteractionOptions` The same instance. 

 `public static ChartInteractionOptions SelectionMode(ChartInteractionOptions chartInteractionOptions, ChartSelectionMode value)` [#](#method-selectionmode-chartforgex-interactivity-chartinteractionoptions-chartforgex-interactivity-chartselectionmode) 

Sets [ChartInteractionOptions.SelectionMode](/api/chartforgex-interactivity-chartinteractionoptions/): Gets or sets how pointer and keyboard activation changes the selected marks.

Parameters

**chartInteractionOptions ChartForgeX.Interactivity.ChartInteractionOptions required**

The instance.

**value ChartForgeX.Interactivity.ChartSelectionMode required**

The value.

Returns

 `ChartInteractionOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                               // C# fluent
new global::ChartForgeX.Interactivity.ChartInteractionOptions { SelectionMode = value };    chartInteractionOptions.SelectionMode(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:992844FAFEC3501C69FC6FCE7BF0FD8945E12485F5BF3DBB5B3109E0F281E7C0 -->
