HtmlForgeX

API Reference

Class

EmailHeatmap

Namespace HtmlForgeX.Email
Assembly HtmlForgeX.Email
Base Element
Implements
Modifiers sealed

Email-safe heatmap rendered as a dense table grid (no SVG/canvas). Useful for contribution-style charts, uptime matrices, or any small numeric intensity grid.

Inheritance

Constructors

Methods

AddRow 2 overloads
public EmailHeatmap AddRow(String label, params Nullable<Double>[] values) #
Returns: EmailHeatmap

Adds a row.

Parameters

label System.String requiredposition: 0
values System.Nullable{System.Double}[] requiredposition: 1
public EmailHeatmap AddRow(Action<EmailHeatmapRow> configure) #
Returns: EmailHeatmap

Adds a row configured via callback.

Parameters

configure System.Action{HtmlForgeX.Email.EmailHeatmapRow} requiredposition: 0
public override String ToString() #
Returns: String

Properties

public List<EmailHeatmapRow> Rows { get; } #

Heatmap rows (label + values).

public List<String> ColumnLabels { get; } #

Optional column labels (must match the number of columns to show meaningfully).

public Boolean ShowRowLabels { get; set; } #

When true, renders row labels on the left.

public Boolean ShowColumnLabels { get; set; } #

When true, renders column labels at the top.

public Boolean ShowLegend { get; set; } #

When true, renders a min/max legend under the grid.

public Int32 LegendSteps { get; set; } #

Legend gradient steps (2-7 recommended).

public Int32 CellSizePx { get; set; } #

Pixel size of each heatmap cell.

public String GridLineWidth { get; set; } #

Grid line (gap) width, e.g. "1px".

public String GridLineColor { get; set; } #

Grid line color (theme-aware by default).

public String EmptyColor { get; set; } #

Color for empty (null) cells (theme-aware by default).

public String LowColor { get; set; } #

Low intensity color (theme-aware by default).

public String HighColor { get; set; } #

High intensity color (theme-aware by default).

public String FontFamily { get; set; } #

Font family for labels.

public String LabelColor { get; set; } #

Label color (theme-aware by default).

public String LabelFontSize { get; set; } #

Label font size.

public Nullable<Double> MinValue { get; set; } #

Optional explicit minimum value. When null, computed from data.

public Nullable<Double> MaxValue { get; set; } #

Optional explicit maximum value. When null, computed from data.