# ChartSeriesScenarioExtensions

Connects retained chart series identities to host-neutral scenario routes.

 Class  

`ChartForgeX.Interactivity.Html`

**Namespace**

`ChartForgeX.Interactivity.Html`

**Assembly**

`ChartForgeX.Interactivity.Html`

**Source**

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

**Modifiers**

static

Connects retained chart series identities to host-neutral scenario routes.

## Inheritance

- object
- ChartSeriesScenarioExtensions

 Filter members   

    Show inherited   

 

## Methods

 `public static ChartInteractionScenario AddSeriesStep(ChartInteractionScenario scenario, ChartSeriesId seriesId, string? label = null, string? description = null, Action<ChartInteractionScenarioStep>? configure = null)` [#](#method-addseriesstep-chartforgex-interactivity-chartinteractionscenario-chartforgex-core-chartseriesid-string-string-action-chartforgex-interactivity-chartinteractionscenariostep) 

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

Adds a scenario step targeting the retained series identity, independent of display text and paint order.

Parameters

**scenario ChartForgeX.Interactivity.ChartInteractionScenario required**

The scenario receiving the ordered step.

**seriesId ChartForgeX.Core.ChartSeriesId required**

The stable series identity supplied at construction or allocated by its chart.

**label string? = null optional**

The optional step label.

**description string? = null optional**

The optional step description.

**configure System.Action<ChartForgeX.Interactivity.ChartInteractionScenarioStep>? = null optional**

Optional step configuration.

Returns

 `ChartInteractionScenario` The current scenario. 

## 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:6764AE082FEC493863C9BE5A18838860B32DA6A128B5AD8293ABB15704921B95 -->
