Skip to content
ChartForgeX
Class

ChartMapFeature

ChartForgeX.Core

Namespace
ChartForgeX.Core
Assembly
ChartForgeX
Modifiers
sealed

An immutable map feature ID and JSON property snapshot, independent of series observation identity.

Inheritance

  • object
  • ChartMapFeature

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 3

Accepted by parameters 3

Constructors

public ChartMapFeature(string? id = null, string? propertiesJson = "{}") #

Creates feature metadata with an optional string ID and a JSON properties object.

Parameters

id string? = null optional
A string feature ID, distinct from an observation ID; null leaves it absent.
propertiesJson string? = "{}" optional
A JSON object, the JSON text "null", or null for absent properties. The existing parser rejects duplicate keys, excessive nesting, invalid finite numbers and malformed JSON.

Properties

public string? Id { get; } #

Gets the original feature ID as text, or null when it was absent or null. IDs are never generated.

public string? IdJson { get; } #

Gets the JSON scalar spelling of the ID, distinguishing numeric and string IDs. Null means absent; the text "null" retains explicit source null.

public string? PropertiesJson { get; } #

Gets the JSON object or null-value snapshot with property-name case, nested values and number spelling retained; null means absent properties.