Skip to content
ChartForgeX
Struct

ChartCalendarHeatmapItem

ChartForgeX.Core

Namespace
ChartForgeX.Core
Assembly
ChartForgeX
Base
ValueType
Modifiers
sealed

Represents one dated value in a calendar heatmap chart.

Inheritance

  • ValueType
  • ChartCalendarHeatmapItem

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.

Accepted by parameters 4

Constructors

public ChartCalendarHeatmapItem(DateTime date, double value, ChartColor? color = null) #

Initializes a new instance of the ChartCalendarHeatmapItem struct.

Parameters

date System.DateTime required
The calendar date. The time component is ignored.
value double required
The day value. Negative values are not allowed.
color ChartForgeX.Primitives.ChartColor? = null optional
An optional color for this day.

Methods

public ChartCalendarHeatmapItem 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

ChartCalendarHeatmapItem A new observation. The current observation is unchanged.

Properties

public ChartMarkOptions? MarkOptions { get; } #

Gets optional immutable navigation, accessibility and host metadata.

Fields

public readonly DateTime Date #

Gets the calendar date.

public readonly double Value #

Gets the day value.

public readonly ChartColor? Color #

Gets the optional day color.