Class
ChartMapFeature
ChartForgeX.Core
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
- Property ChartMapConnector.Feature
- Property ChartMapPoint.Feature
- Property ChartMapRegion.Feature
Accepted by parameters 3
- Method ChartMapConnector.WithFeature
- Method ChartMapPoint.WithFeature
- Method ChartMapRegion.WithFeature
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
- A string feature ID, distinct from an observation ID; null leaves it absent.
- propertiesJson string? = "{}"
- 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.
Inherited Methods
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.