Skip to content
ChartForgeX
Struct

ChartHeatmapCell

ChartForgeX.Core

Namespace
ChartForgeX.Core
Assembly
ChartForgeX
Base
ValueType
Modifiers
sealed

Represents one categorical heatmap cell: a state key resolved through ChartStateTimelineOptions.Categories, optional short text drawn in the cell, an optional tooltip, and an optional link.

Inheritance

  • ValueType
  • ChartHeatmapCell

Usage

Explore 6 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 2

Accepted by parameters 4

Constructors

public ChartHeatmapCell(string state, string? text = null, string? tooltip = null, string? href = null) #

Initializes a categorical heatmap cell.

Parameters

state string required
The state key, for example pass or critical.
text string? = null optional
Optional short text drawn inside the cell, for example a count.
tooltip string? = null optional
Optional tooltip text, appended to the accessible name and hover text of the cell, which always name the row, column, and state (row, column: state. tooltip).
href string? = null optional
Optional link opened from the cell in SVG and HTML output. Relative, fragment, http, https, and mailto links are accepted; other schemes such as javascript: are rejected.

Methods

public ChartHeatmapCell WithMarkOptions(ChartMarkOptions? options) #

Returns a copy with replacement mark metadata, retaining all authored values.

Parameters

options ChartForgeX.Core.ChartMarkOptions? required
Immutable metadata, or null to clear it.

Returns

ChartHeatmapCell A new observation. The current observation is unchanged.

Properties

public string State { get; } #

Gets the state key.

public string? Text { get; } #

Gets optional short text drawn inside the cell.

public string? Tooltip { get; } #

Gets optional tooltip text.

public string? Href { get; } #

Gets the optional link target.

public ChartMarkOptions? MarkOptions { get; } #

Gets optional immutable navigation, accessibility and host metadata.