# ChartHeatmapRow

Describes one reusable heatmap matrix row.

 Class  

`ChartForgeX.Core`

**Namespace**

`ChartForgeX.Core`

**Assembly**

`ChartForgeX`

**Source**

[ChartHeatmapRow.cs:19](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartHeatmapRow.cs#L19)

**Modifiers**

sealed

Describes one reusable heatmap matrix row.

## Inheritance

- object
- ChartHeatmapRow

## Usage

 Explore 5 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 3

- Method [ChartHeatmapRow.Create](/api/chartforgex-core-chartheatmaprow/#method-create-string-double)
- Method [ChartHeatmapRow.CreateMasked](/api/chartforgex-core-chartheatmaprow/#method-createmasked-string-nullable-system-double)
- Method [ChartHeatmapRow.WithMarkOptions](/api/chartforgex-core-chartheatmaprow/#method-withmarkoptions-chartforgex-core-chartmarkoptions)

### Accepted by parameters 2

- Method [Chart.AddHeatmapRows](/api/chartforgex-core-chart/#method-addheatmaprows-collections-generic-ienumerable-chartforgex-core-chartheatmaprow-nullable-chartforgex-primitives-chartcolor) parameter `rows`
- Method [Chart.AddHexbinHeatmapRows](/api/chartforgex-core-chart/#method-addhexbinheatmaprows-collections-generic-ienumerable-chartforgex-core-chartheatmaprow-nullable-chartforgex-primitives-chartcolor) parameter `rows`

 Filter members   

    Show inherited   

 

## Constructors

 `public ChartHeatmapRow(string name, IEnumerable<double> values)` [#](#constructor-ctor-string-collections-generic-ienumerable-system-double) 

[ChartHeatmapRow.cs:19](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartHeatmapRow.cs#L19)

Initializes a heatmap row. Empty values represent a row with no observations.

Parameters

**name string required**

The row name.

**values System.Collections.Generic.IEnumerable<double> required**

The row values. Values are assigned to columns one through N.

## Methods

 `public static ChartHeatmapRow Create(string name, params double[] values)` [#](#method-create-string-double) 

[ChartHeatmapRow.cs:68](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartHeatmapRow.cs#L68)

Creates a heatmap row from one-based cell values.

Parameters

**name string required**

The row name.

**values double[] required**

The row values. Values are assigned to columns one through N.

Returns

 `ChartHeatmapRow` A heatmap row. 

 `public static ChartHeatmapRow CreateMasked(string name, params double?[] values)` [#](#method-createmasked-string-nullable-system-double) 

[ChartHeatmapRow.cs:77](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartHeatmapRow.cs#L77)

Creates a heatmap row with optional masked cells. Null cells reserve their column position but do not render, including when every cell is null.

Parameters

**name string required**

The row name.

**values double?[] required**

The row cells. Null entries are skipped while later values keep their one-based column positions.

Returns

 `ChartHeatmapRow` A masked heatmap row. 

 `public ChartHeatmapRow WithMarkOptions(ChartMarkOptions? options)` [#](#method-withmarkoptions-chartforgex-core-chartmarkoptions) 

[ChartHeatmapRow.cs:85](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartHeatmapRow.cs#L85)

Returns an independent row with replacement host metadata and the same values and masks.

Parameters

**options ChartForgeX.Core.ChartMarkOptions? required**

Immutable row metadata, or null to clear it.

Returns

 `ChartHeatmapRow` A new row. 

## 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 string Name { get; }` [#](#property-name) 

[ChartHeatmapRow.cs:45](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartHeatmapRow.cs#L45)

Gets the row name.

 `public IReadOnlyList<double> Values { get; }` [#](#property-values) 

[ChartHeatmapRow.cs:50](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartHeatmapRow.cs#L50)

Gets the row values.

 `public IReadOnlyList<double?> Cells { get; }` [#](#property-cells) 

[ChartHeatmapRow.cs:55](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartHeatmapRow.cs#L55)

Gets row cells. Null entries are masked cells that do not render.

 `public bool HasMaskedCells { get; }` [#](#property-hasmaskedcells) 

[ChartHeatmapRow.cs:60](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartHeatmapRow.cs#L60)

Gets a value indicating whether the row contains masked cells.

 `public ChartMarkOptions? MarkOptions { get; private set; }` [#](#property-markoptions) 

[ChartHeatmapRow.cs:80](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartHeatmapRow.cs#L80)

Gets optional immutable host metadata for this row.

<!-- PowerForge markdown artifact sha256:0D8450E87A612D331FE935AD0E0118C0467A663E8E785D2BB2FA18518F2A05DC -->
