# ChartStateTimelineOptions

State timeline categories and summary. Configure it through ChartOptions.StateTimeline.

 Class  

`ChartForgeX.Core`

**Namespace**

`ChartForgeX.Core`

**Assembly**

`ChartForgeX`

**Source**

[ChartStateTimelineOptions.cs:34](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartStateTimelineOptions.cs#L34)

**Modifiers**

sealed

**Attributes**

 `Fluent(Copy = "Clone")` 

State timeline categories and summary. Configure it through [ChartOptions.StateTimeline](/api/chartforgex-core-chartoptions/).

## Inheritance

- object
- ChartStateTimelineOptions

## Usage

 Explore 33 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 13

- Property [ChartOptions.StateTimeline](/api/chartforgex-core-chartoptions/#property-statetimeline)
- Extension method [ChartStateTimelineOptions.Categories](/api/chartforgex-core-chartstatetimelineoptions/#extension-categories-chartforgex-core-chartstatetimelineoptions-collections-generic-ienumerable-chartforgex-core-chartstatecategory)
- Extension method [ChartStateTimelineOptions.Category](/api/chartforgex-core-chartstatetimelineoptions/#extension-category-chartforgex-core-chartstatetimelineoptions-chartforgex-core-chartstatecategory)
- Extension method [ChartStateTimelineOptions.Group](/api/chartforgex-core-chartstatetimelineoptions/#extension-group-chartforgex-core-chartstatetimelineoptions-chartforgex-core-chartlanegroup)
- Extension method [ChartStateTimelineOptions.Groups](/api/chartforgex-core-chartstatetimelineoptions/#extension-groups-chartforgex-core-chartstatetimelineoptions-collections-generic-ienumerable-chartforgex-core-chartlanegroup)
- Extension method [ChartStateTimelineOptions.PinColorsInForcedColors](/api/chartforgex-core-chartstatetimelineoptions/#extension-pincolorsinforcedcolors-chartforgex-core-chartstatetimelineoptions-boolean)
- Extension method [ChartStateTimelineOptions.SummaryHeader](/api/chartforgex-core-chartstatetimelineoptions/#extension-summaryheader-chartforgex-core-chartstatetimelineoptions-string)
- Method [ChartStateTimelineOptionsFluent.Categories](/api/chartforgex-core-chartstatetimelineoptionsfluent/#method-categories-chartforgex-core-chartstatetimelineoptions-collections-generic-ienumerable-chartforgex-core-chartstatecategory)
- Method [ChartStateTimelineOptionsFluent.Category](/api/chartforgex-core-chartstatetimelineoptionsfluent/#method-category-chartforgex-core-chartstatetimelineoptions-chartforgex-core-chartstatecategory)
- Method [ChartStateTimelineOptionsFluent.Group](/api/chartforgex-core-chartstatetimelineoptionsfluent/#method-group-chartforgex-core-chartstatetimelineoptions-chartforgex-core-chartlanegroup)
- Method [ChartStateTimelineOptionsFluent.Groups](/api/chartforgex-core-chartstatetimelineoptionsfluent/#method-groups-chartforgex-core-chartstatetimelineoptions-collections-generic-ienumerable-chartforgex-core-chartlanegroup)
- Method [ChartStateTimelineOptionsFluent.PinColorsInForcedColors](/api/chartforgex-core-chartstatetimelineoptionsfluent/#method-pincolorsinforcedcolors-chartforgex-core-chartstatetimelineoptions-boolean)
- Method [ChartStateTimelineOptionsFluent.SummaryHeader](/api/chartforgex-core-chartstatetimelineoptionsfluent/#method-summaryheader-chartforgex-core-chartstatetimelineoptions-string)

### Accepted by parameters 20

- Extension method [Chart.StateTimeline](/api/chartforgex-core-chart/#extension-statetimeline-chartforgex-core-chart-action-chartforgex-core-chartstatetimelineoptions) parameter `configure`
- Extension method [Chart.StateTimeline](/api/chartforgex-core-chart/#extension-statetimeline-chartforgex-core-chart-chartforgex-core-chartstatetimelineoptions) parameter `value`
- Method [ChartFluent.StateTimeline](/api/chartforgex-core-chartfluent/#method-statetimeline-chartforgex-core-chart-action-chartforgex-core-chartstatetimelineoptions) parameter `configure`
- Method [ChartFluent.StateTimeline](/api/chartforgex-core-chartfluent/#method-statetimeline-chartforgex-core-chart-chartforgex-core-chartstatetimelineoptions) parameter `value`
- Extension method [ChartOptions.StateTimeline](/api/chartforgex-core-chartoptions/#extension-statetimeline-chartforgex-core-chartoptions-action-chartforgex-core-chartstatetimelineoptions) parameter `configure`
- Extension method [ChartOptions.StateTimeline](/api/chartforgex-core-chartoptions/#extension-statetimeline-chartforgex-core-chartoptions-chartforgex-core-chartstatetimelineoptions) parameter `value`
- Method [ChartOptionsFluent.StateTimeline](/api/chartforgex-core-chartoptionsfluent/#method-statetimeline-chartforgex-core-chartoptions-action-chartforgex-core-chartstatetimelineoptions) parameter `configure`
- Method [ChartOptionsFluent.StateTimeline](/api/chartforgex-core-chartoptionsfluent/#method-statetimeline-chartforgex-core-chartoptions-chartforgex-core-chartstatetimelineoptions) parameter `value`
- Extension method [ChartStateTimelineOptions.Categories](/api/chartforgex-core-chartstatetimelineoptions/#extension-categories-chartforgex-core-chartstatetimelineoptions-collections-generic-ienumerable-chartforgex-core-chartstatecategory) parameter `chartStateTimelineOptions`
- Extension method [ChartStateTimelineOptions.Category](/api/chartforgex-core-chartstatetimelineoptions/#extension-category-chartforgex-core-chartstatetimelineoptions-chartforgex-core-chartstatecategory) parameter `chartStateTimelineOptions`
- Extension method [ChartStateTimelineOptions.Group](/api/chartforgex-core-chartstatetimelineoptions/#extension-group-chartforgex-core-chartstatetimelineoptions-chartforgex-core-chartlanegroup) parameter `chartStateTimelineOptions`
- Extension method [ChartStateTimelineOptions.Groups](/api/chartforgex-core-chartstatetimelineoptions/#extension-groups-chartforgex-core-chartstatetimelineoptions-collections-generic-ienumerable-chartforgex-core-chartlanegroup) parameter `chartStateTimelineOptions`
- Extension method [ChartStateTimelineOptions.PinColorsInForcedColors](/api/chartforgex-core-chartstatetimelineoptions/#extension-pincolorsinforcedcolors-chartforgex-core-chartstatetimelineoptions-boolean) parameter `chartStateTimelineOptions`
- Extension method [ChartStateTimelineOptions.SummaryHeader](/api/chartforgex-core-chartstatetimelineoptions/#extension-summaryheader-chartforgex-core-chartstatetimelineoptions-string) parameter `chartStateTimelineOptions`
- Method [ChartStateTimelineOptionsFluent.Categories](/api/chartforgex-core-chartstatetimelineoptionsfluent/#method-categories-chartforgex-core-chartstatetimelineoptions-collections-generic-ienumerable-chartforgex-core-chartstatecategory) parameter `chartStateTimelineOptions`
- Method [ChartStateTimelineOptionsFluent.Category](/api/chartforgex-core-chartstatetimelineoptionsfluent/#method-category-chartforgex-core-chartstatetimelineoptions-chartforgex-core-chartstatecategory) parameter `chartStateTimelineOptions`
- Method [ChartStateTimelineOptionsFluent.Group](/api/chartforgex-core-chartstatetimelineoptionsfluent/#method-group-chartforgex-core-chartstatetimelineoptions-chartforgex-core-chartlanegroup) parameter `chartStateTimelineOptions`
- Method [ChartStateTimelineOptionsFluent.Groups](/api/chartforgex-core-chartstatetimelineoptionsfluent/#method-groups-chartforgex-core-chartstatetimelineoptions-collections-generic-ienumerable-chartforgex-core-chartlanegroup) parameter `chartStateTimelineOptions`
- Method [ChartStateTimelineOptionsFluent.PinColorsInForcedColors](/api/chartforgex-core-chartstatetimelineoptionsfluent/#method-pincolorsinforcedcolors-chartforgex-core-chartstatetimelineoptions-boolean) parameter `chartStateTimelineOptions`
- Method [ChartStateTimelineOptionsFluent.SummaryHeader](/api/chartforgex-core-chartstatetimelineoptionsfluent/#method-summaryheader-chartforgex-core-chartstatetimelineoptions-string) parameter `chartStateTimelineOptions`

 Filter members   

    Show inherited   

 

## Constructors

 `public ChartStateTimelineOptions()` [#](#constructor-ctor) 

[ChartStateTimelineOptions.cs:34](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartStateTimelineOptions.cs#L34)

## 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?` 

## Properties

 `public bool PinColorsInForcedColors { get; set; }` [#](#property-pincolorsinforcedcolors) 

[ChartStateTimelineOptions.cs:26](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartStateTimelineOptions.cs#L26)

Gets or sets whether SVG output keeps state marks in their colours in forced-colours mode (Windows high contrast): marks with a status (data-cfx-status: state timeline segments, Gantt lane items, categorical heatmap cells, legend swatches, and also semantic heatmap cells and the calendar no-data swatch) and the hatch and outline drawn over them get forced-color-adjust:none, as report views do for their status chips. Off by default, so forced colours apply as usual. A host that also remaps its colour variables in forced-colours mode must keep the values of the variables these marks use, because custom properties are not affected by forced-color-adjust. PNG output is not affected.

 `public List<ChartStateCategory> Categories { get; private set; }` [#](#property-categories) 

[ChartStateTimelineOptions.cs:34](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartStateTimelineOptions.cs#L34)

Gets the categorical state map shared by state timelines and categorical heatmaps, in legend order. Keys that are not registered render in the theme's muted colour and show the raw key. The category legend is drawn at the bottom when [ChartLegendOptions.Visible](/api/chartforgex-core-chartlegendoptions/) is enabled (heatmaps also require [ChartHeatmapOptions.ShowCategoryLegend](/api/chartforgex-core-chartheatmapoptions/)); [ChartLegendOptions.Position](/api/chartforgex-core-chartlegendoptions/) does not apply to it.

 `public List<ChartLaneGroup> Groups { get; private set; }` [#](#property-groups) 

[ChartStateTimelineOptions.cs:41](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartStateTimelineOptions.cs#L41)

Gets the nested lane groups shared by state timeline and Gantt lanes, in registration order. A lane whose group matches a registered ID is listed under that group and every ancestor; any other group text keeps the single-level header. Use [Chart.AddLaneGroup](/api/chartforgex-core-chart/) so parents are validated.

 `public string? SummaryHeader { get; set; }` [#](#property-summaryheader) 

[ChartStateTimelineOptions.cs:48](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartStateTimelineOptions.cs#L48)

Gets or sets the header for the right-hand summary column of state timelines. This remains an alias of [ChartStateTimelineOptions.SummaryHeader](/api/chartforgex-core-chartstatetimelineoptions/) for existing callers.

## Extension Methods

 `public static ChartStateTimelineOptions Categories(ChartStateTimelineOptions chartStateTimelineOptions, IEnumerable<ChartStateCategory> items)` [#](#extension-categories-chartforgex-core-chartstatetimelineoptions-collections-generic-ienumerable-chartforgex-core-chartstatecategory) 

Adds items to [ChartStateTimelineOptions.Categories](/api/chartforgex-core-chartstatetimelineoptions/): Gets the categorical state map shared by state timelines and categorical heatmaps, in legend order. Keys that are not registered render in the theme's muted colour and show the raw key. The category legend is drawn at the bottom when [ChartLegendOptions.Visible](/api/chartforgex-core-chartlegendoptions/) is enabled (heatmaps also require [ChartHeatmapOptions.ShowCategoryLegend](/api/chartforgex-core-chartheatmapoptions/)); [ChartLegendOptions.Position](/api/chartforgex-core-chartlegendoptions/) does not apply to it.

Parameters

**chartStateTimelineOptions ChartForgeX.Core.ChartStateTimelineOptions required**

The instance.

**items System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartStateCategory> required**

The items, in order.

Returns

 `ChartStateTimelineOptions` The same instance. 

 `public static ChartStateTimelineOptions Category(ChartStateTimelineOptions chartStateTimelineOptions, ChartStateCategory item)` [#](#extension-category-chartforgex-core-chartstatetimelineoptions-chartforgex-core-chartstatecategory) 

Adds an item to [ChartStateTimelineOptions.Categories](/api/chartforgex-core-chartstatetimelineoptions/): Gets the categorical state map shared by state timelines and categorical heatmaps, in legend order. Keys that are not registered render in the theme's muted colour and show the raw key. The category legend is drawn at the bottom when [ChartLegendOptions.Visible](/api/chartforgex-core-chartlegendoptions/) is enabled (heatmaps also require [ChartHeatmapOptions.ShowCategoryLegend](/api/chartforgex-core-chartheatmapoptions/)); [ChartLegendOptions.Position](/api/chartforgex-core-chartlegendoptions/) does not apply to it.

Parameters

**chartStateTimelineOptions ChartForgeX.Core.ChartStateTimelineOptions required**

The instance.

**item ChartForgeX.Core.ChartStateCategory required**

The item.

Returns

 `ChartStateTimelineOptions` The same instance. 

 `public static ChartStateTimelineOptions Group(ChartStateTimelineOptions chartStateTimelineOptions, ChartLaneGroup item)` [#](#extension-group-chartforgex-core-chartstatetimelineoptions-chartforgex-core-chartlanegroup) 

Adds an item to [ChartStateTimelineOptions.Groups](/api/chartforgex-core-chartstatetimelineoptions/): Gets the nested lane groups shared by state timeline and Gantt lanes, in registration order. A lane whose group matches a registered ID is listed under that group and every ancestor; any other group text keeps the single-level header. Use [Chart.AddLaneGroup](/api/chartforgex-core-chart/) so parents are validated.

Parameters

**chartStateTimelineOptions ChartForgeX.Core.ChartStateTimelineOptions required**

The instance.

**item ChartForgeX.Core.ChartLaneGroup required**

The item.

Returns

 `ChartStateTimelineOptions` The same instance. 

 `public static ChartStateTimelineOptions Groups(ChartStateTimelineOptions chartStateTimelineOptions, IEnumerable<ChartLaneGroup> items)` [#](#extension-groups-chartforgex-core-chartstatetimelineoptions-collections-generic-ienumerable-chartforgex-core-chartlanegroup) 

Adds items to [ChartStateTimelineOptions.Groups](/api/chartforgex-core-chartstatetimelineoptions/): Gets the nested lane groups shared by state timeline and Gantt lanes, in registration order. A lane whose group matches a registered ID is listed under that group and every ancestor; any other group text keeps the single-level header. Use [Chart.AddLaneGroup](/api/chartforgex-core-chart/) so parents are validated.

Parameters

**chartStateTimelineOptions ChartForgeX.Core.ChartStateTimelineOptions required**

The instance.

**items System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartLaneGroup> required**

The items, in order.

Returns

 `ChartStateTimelineOptions` The same instance. 

 `public static ChartStateTimelineOptions PinColorsInForcedColors(ChartStateTimelineOptions chartStateTimelineOptions, bool value = true)` [#](#extension-pincolorsinforcedcolors-chartforgex-core-chartstatetimelineoptions-boolean) 

Sets [ChartStateTimelineOptions.PinColorsInForcedColors](/api/chartforgex-core-chartstatetimelineoptions/): Gets or sets whether SVG output keeps state marks in their colours in forced-colours mode (Windows high contrast): marks with a status (data-cfx-status: state timeline segments, Gantt lane items, categorical heatmap cells, legend swatches, and also semantic heatmap cells and the calendar no-data swatch) and the hatch and outline drawn over them get forced-color-adjust:none, as report views do for their status chips. Off by default, so forced colours apply as usual. A host that also remaps its colour variables in forced-colours mode must keep the values of the variables these marks use, because custom properties are not affected by forced-color-adjust. PNG output is not affected.

Parameters

**chartStateTimelineOptions ChartForgeX.Core.ChartStateTimelineOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `ChartStateTimelineOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                                  // C# fluent
new global::ChartForgeX.Core.ChartStateTimelineOptions { PinColorsInForcedColors = value };    chartStateTimelineOptions.PinColorsInForcedColors(value);
```

 `public static ChartStateTimelineOptions SummaryHeader(ChartStateTimelineOptions chartStateTimelineOptions, string? value)` [#](#extension-summaryheader-chartforgex-core-chartstatetimelineoptions-string) 

Sets [ChartStateTimelineOptions.SummaryHeader](/api/chartforgex-core-chartstatetimelineoptions/): Gets or sets the header for the right-hand summary column of state timelines. This remains an alias of [ChartStateTimelineOptions.SummaryHeader](/api/chartforgex-core-chartstatetimelineoptions/) for existing callers.

Parameters

**chartStateTimelineOptions ChartForgeX.Core.ChartStateTimelineOptions required**

The instance.

**value string? required**

The value.

Returns

 `ChartStateTimelineOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                        // C# fluent
new global::ChartForgeX.Core.ChartStateTimelineOptions { SummaryHeader = value };    chartStateTimelineOptions.SummaryHeader(value);
```

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