# ChartHeatmapOptionsFluent

The fluent methods of ChartHeatmapOptions, 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 [ChartHeatmapOptions](/api/chartforgex-core-chartheatmapoptions/), 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
- ChartHeatmapOptionsFluent

 Filter members   

    Show inherited   

 

## Methods

 `public static ChartHeatmapOptions CellGap(ChartHeatmapOptions chartHeatmapOptions, double? value)` [#](#method-cellgap-chartforgex-core-chartheatmapoptions-nullable-system-double) 

Sets [ChartHeatmapOptions.CellGap](/api/chartforgex-core-chartheatmapoptions/): Gets or sets an optional heatmap cell gap in pixels.

Parameters

**chartHeatmapOptions ChartForgeX.Core.ChartHeatmapOptions required**

The instance.

**value double? required**

The value.

Returns

 `ChartHeatmapOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                            // C# fluent
new global::ChartForgeX.Core.ChartHeatmapOptions { CellGap = value };    chartHeatmapOptions.CellGap(value);
```

 `public static ChartHeatmapOptions CellRadius(ChartHeatmapOptions chartHeatmapOptions, double? value)` [#](#method-cellradius-chartforgex-core-chartheatmapoptions-nullable-system-double) 

Sets [ChartHeatmapOptions.CellRadius](/api/chartforgex-core-chartheatmapoptions/): Gets or sets an optional heatmap cell corner radius in pixels.

Parameters

**chartHeatmapOptions ChartForgeX.Core.ChartHeatmapOptions required**

The instance.

**value double? required**

The value.

Returns

 `ChartHeatmapOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                               // C# fluent
new global::ChartForgeX.Core.ChartHeatmapOptions { CellRadius = value };    chartHeatmapOptions.CellRadius(value);
```

 ColorDimension 2 overloads 

 `public static ChartHeatmapOptions ColorDimension(ChartHeatmapOptions chartHeatmapOptions, ChartColorDimensionOptions value)` [#](#method-colordimension-chartforgex-core-chartheatmapoptions-chartforgex-core-chartcolordimensionoptions) 

Sets [ChartHeatmapOptions.ColorDimension](/api/chartforgex-core-chartheatmapoptions/): Gets the name and number display policy for numeric rectangular, hexagonal and calendar heatmap measurements.

Parameters

**chartHeatmapOptions ChartForgeX.Core.ChartHeatmapOptions required**

The instance.

**value ChartForgeX.Core.ChartColorDimensionOptions required**

The value.

Returns

 `ChartHeatmapOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                   // C# fluent
new global::ChartForgeX.Core.ChartHeatmapOptions { ColorDimension = value };    chartHeatmapOptions.ColorDimension(value);
```

 `public static ChartHeatmapOptions ColorDimension(ChartHeatmapOptions chartHeatmapOptions, Action<ChartColorDimensionOptions> configure)` [#](#method-colordimension-chartforgex-core-chartheatmapoptions-action-chartforgex-core-chartcolordimensionoptions) 

Configures a copy of [ChartHeatmapOptions.ColorDimension](/api/chartforgex-core-chartheatmapoptions/) (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets the name and number display policy for numeric rectangular, hexagonal and calendar heatmap measurements.

Parameters

**chartHeatmapOptions ChartForgeX.Core.ChartHeatmapOptions required**

The instance.

**configure System.Action<ChartForgeX.Core.ChartColorDimensionOptions> required**

Configures the copy.

Returns

 `ChartHeatmapOptions` The same instance. 

 `public static ChartHeatmapOptions ColorScale(ChartHeatmapOptions chartHeatmapOptions, ChartColorScale? value)` [#](#method-colorscale-chartforgex-core-chartheatmapoptions-chartforgex-core-chartcolorscale) 

Sets [ChartHeatmapOptions.ColorScale](/api/chartforgex-core-chartheatmapoptions/): Gets or sets the numeric color scale shared by rectangular, hexagonal and calendar heatmaps. Null retains the family's default coloring. A scale uses all observed values, including zero, unless its range is fixed; explicit cell colors take precedence. Categorical matrices do not support a numeric scale.

Parameters

**chartHeatmapOptions ChartForgeX.Core.ChartHeatmapOptions required**

The instance.

**value ChartForgeX.Core.ChartColorScale? required**

The value.

Returns

 `ChartHeatmapOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                               // C# fluent
new global::ChartForgeX.Core.ChartHeatmapOptions { ColorScale = value };    chartHeatmapOptions.ColorScale(value);
```

 `public static ChartHeatmapOptions ColumnWindow(ChartHeatmapOptions chartHeatmapOptions, ChartHeatmapColumnWindow value)` [#](#method-columnwindow-chartforgex-core-chartheatmapoptions-chartforgex-core-chartheatmapcolumnwindow) 

Sets [ChartHeatmapOptions.ColumnWindow](/api/chartforgex-core-chartheatmapoptions/): Gets or sets the policy for rectangular heatmap columns that do not fit at a readable width.

Parameters

**chartHeatmapOptions ChartForgeX.Core.ChartHeatmapOptions required**

The instance.

**value ChartForgeX.Core.ChartHeatmapColumnWindow required**

The value.

Returns

 `ChartHeatmapOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                 // C# fluent
new global::ChartForgeX.Core.ChartHeatmapOptions { ColumnWindow = value };    chartHeatmapOptions.ColumnWindow(value);
```

 `public static ChartHeatmapOptions NaturalHeight(ChartHeatmapOptions chartHeatmapOptions, bool value = true)` [#](#method-naturalheight-chartforgex-core-chartheatmapoptions-boolean) 

Sets [ChartHeatmapOptions.NaturalHeight](/api/chartforgex-core-chartheatmapoptions/): Gets or sets whether rectangular heatmaps may grow beyond the requested frame to fit readable rows.

Parameters

**chartHeatmapOptions ChartForgeX.Core.ChartHeatmapOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `ChartHeatmapOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                  // C# fluent
new global::ChartForgeX.Core.ChartHeatmapOptions { NaturalHeight = value };    chartHeatmapOptions.NaturalHeight(value);
```

 `public static ChartHeatmapOptions RelativeScale(ChartHeatmapOptions chartHeatmapOptions, bool value = true)` [#](#method-relativescale-chartforgex-core-chartheatmapoptions-boolean) 

Sets [ChartHeatmapOptions.RelativeScale](/api/chartforgex-core-chartheatmapoptions/): Gets or sets a value indicating whether heatmap intensity is relative to the observed value range (from zero for non-negative data). By default, heatmaps whose values all fall between 0 and 100 are read as percentages; enable this for counts and other magnitudes. [Chart.AddHourWeekdayHeatmap](/api/chartforgex-core-chart/) enables it. Relative heatmaps are drawn with the neutral sequential scale; combining this with [ChartHeatmapScale.Semantic](/api/chartforgex-core-chartheatmapscale/) is rejected unless [ChartHeatmapOptions.ColorScale](/api/chartforgex-core-chartheatmapoptions/) supplies the coloring instead.

Parameters

**chartHeatmapOptions ChartForgeX.Core.ChartHeatmapOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `ChartHeatmapOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                  // C# fluent
new global::ChartForgeX.Core.ChartHeatmapOptions { RelativeScale = value };    chartHeatmapOptions.RelativeScale(value);
```

 `public static ChartHeatmapOptions Scale(ChartHeatmapOptions chartHeatmapOptions, ChartHeatmapScale value)` [#](#method-scale-chartforgex-core-chartheatmapoptions-chartforgex-core-chartheatmapscale) 

Sets [ChartHeatmapOptions.Scale](/api/chartforgex-core-chartheatmapoptions/): Gets or sets how heatmap values are converted into cell colors.

Parameters

**chartHeatmapOptions ChartForgeX.Core.ChartHeatmapOptions required**

The instance.

**value ChartForgeX.Core.ChartHeatmapScale required**

The value.

Returns

 `ChartHeatmapOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                          // C# fluent
new global::ChartForgeX.Core.ChartHeatmapOptions { Scale = value };    chartHeatmapOptions.Scale(value);
```

 `public static ChartHeatmapOptions ShowCategoryLegend(ChartHeatmapOptions chartHeatmapOptions, bool value = true)` [#](#method-showcategorylegend-chartforgex-core-chartheatmapoptions-boolean) 

Sets [ChartHeatmapOptions.ShowCategoryLegend](/api/chartforgex-core-chartheatmapoptions/): Gets or sets whether categorical heatmap state keys are rendered when the chart legend is enabled. Numeric keys use HeatmapColorDimension.ShowLegend.

Parameters

**chartHeatmapOptions ChartForgeX.Core.ChartHeatmapOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `ChartHeatmapOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                       // C# fluent
new global::ChartForgeX.Core.ChartHeatmapOptions { ShowCategoryLegend = value };    chartHeatmapOptions.ShowCategoryLegend(value);
```

 `public static ChartHeatmapOptions ShowColumnLabels(ChartHeatmapOptions chartHeatmapOptions, bool value = true)` [#](#method-showcolumnlabels-chartforgex-core-chartheatmapoptions-boolean) 

Sets [ChartHeatmapOptions.ShowColumnLabels](/api/chartforgex-core-chartheatmapoptions/): Gets or sets a value indicating whether heatmap column labels are rendered.

Parameters

**chartHeatmapOptions ChartForgeX.Core.ChartHeatmapOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `ChartHeatmapOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                     // C# fluent
new global::ChartForgeX.Core.ChartHeatmapOptions { ShowColumnLabels = value };    chartHeatmapOptions.ShowColumnLabels(value);
```

 `public static ChartHeatmapOptions ShowScaleStepLabels(ChartHeatmapOptions chartHeatmapOptions, bool value = true)` [#](#method-showscalesteplabels-chartforgex-core-chartheatmapoptions-boolean) 

Sets [ChartHeatmapOptions.ShowScaleStepLabels](/api/chartforgex-core-chartheatmapoptions/): Gets or sets whether numeric heatmap keys add automatic intermediate step labels where they fit. Authored scale captions remain authoritative. Default: true.

Parameters

**chartHeatmapOptions ChartForgeX.Core.ChartHeatmapOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `ChartHeatmapOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                        // C# fluent
new global::ChartForgeX.Core.ChartHeatmapOptions { ShowScaleStepLabels = value };    chartHeatmapOptions.ShowScaleStepLabels(value);
```

 `public static ChartHeatmapOptions ValueTextMode(ChartHeatmapOptions chartHeatmapOptions, ChartHeatmapValueTextMode value)` [#](#method-valuetextmode-chartforgex-core-chartheatmapoptions-chartforgex-core-chartheatmapvaluetextmode) 

Sets [ChartHeatmapOptions.ValueTextMode](/api/chartforgex-core-chartheatmapoptions/): Gets or sets when heatmap cell values are rendered as text.

Parameters

**chartHeatmapOptions ChartForgeX.Core.ChartHeatmapOptions required**

The instance.

**value ChartForgeX.Core.ChartHeatmapValueTextMode required**

The value.

Returns

 `ChartHeatmapOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                  // C# fluent
new global::ChartForgeX.Core.ChartHeatmapOptions { ValueTextMode = value };    chartHeatmapOptions.ValueTextMode(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:FDAB68A6E74F79149C8B39469B80449F21D4597D7B323B83DB09247C2EF281B5 -->
