Skip to content
ChartForgeX
Class

ChartHeatmapRow

ChartForgeX.Core

Namespace
ChartForgeX.Core
Assembly
ChartForgeX
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.

Accepted by parameters 2

Constructors

public ChartHeatmapRow(string name, IEnumerable<double> values) #

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) #

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) #

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) #

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.

Properties

public string Name { get; } #

Gets the row name.

public IReadOnlyList<double> Values { get; } #

Gets the row values.

public IReadOnlyList<double?> Cells { get; } #

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

public bool HasMaskedCells { get; } #

Gets a value indicating whether the row contains masked cells.

public ChartMarkOptions? MarkOptions { get; private set; } #

Gets optional immutable host metadata for this row.