# ChartStateTimelineOptionsFluent

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

 Class  

`ChartForgeX.Core`

**Namespace**

`ChartForgeX.Core`

**Assembly**

`ChartForgeX`

**Modifiers**

static

The fluent methods of [ChartStateTimelineOptions](/api/chartforgex-core-chartstatetimelineoptions/), 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
- ChartStateTimelineOptionsFluent

 Filter members   

    Show inherited   

 

## Methods

 `public static ChartStateTimelineOptions Categories(ChartStateTimelineOptions chartStateTimelineOptions, IEnumerable<ChartStateCategory> items)` [#](#method-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)` [#](#method-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)` [#](#method-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)` [#](#method-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)` [#](#method-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)` [#](#method-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);
```

## 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:7AD44803CC6AB177DB73CA2DCC0CCEA1D8AC97A13F013219EE378BAC13FEB8A8 -->
