Skip to content
ChartForgeX
Class

ChartValueContext

ChartForgeX.Core

Namespace
ChartForgeX.Core
Assembly
ChartForgeX
Modifiers
sealed

Immutable observation facts supplied to preparation-time label and tooltip formatters.

Inheritance

  • object
  • ChartValueContext

Usage

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

Methods

public TDatum? GetDatum<TDatum>() #

Returns the authored datum as its family type, such as ChartPoint, ChartBubble or ChartInterval.

Type Parameters

TDatum

Returns

TDatum?

Exceptions

  • InvalidOperationException – The observation does not have the requested datum type.

Properties

public ChartSeriesInfo Series { get; } #

Gets detached series identity, display name, rendering kind and semantic state.

public int Index { get; } #

Gets the zero-based authored observation index, or the separate authored link ordinal for a relationship datum.

public double? Value { get; } #

Gets the scalar reading, or null for compound observations without a single measured value.

public string? Category { get; } #

Gets the category caption, node name, date or state where the observation has one.

public double? Percent { get; } #

Gets a fraction of the declared scale or part-to-whole total, or null when no such total is defined. One means 100 percent.

public object? Datum { get; } #

Gets the authored family datum. Mutable family data is copied before entering the context.