# ChartNode

A node whose stable identity is independent of its display label.

 Struct  

`ChartForgeX.Core`

**Namespace**

`ChartForgeX.Core`

**Assembly**

`ChartForgeX`

**Source**

[ChartNode.cs:15](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartNode.cs#L15)

**Base**

`ValueType`

**Modifiers**

sealed

A node whose stable identity is independent of its display label.

## Inheritance

- ValueType
- ChartNode

## Usage

 Explore 9 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 1

- Property [ChartSeries.Nodes](/api/chartforgex-core-chartseries/#property-nodes)

### Accepted by parameters 8

- Method [Chart.AddChord](/api/chartforgex-core-chart/#method-addchord-string-collections-generic-ienumerable-chartforgex-core-chartnode-collections-generic-ienumerable-chartforgex-core-chartflowlink-nullable-chartforgex-primitives-chartcolor) parameter `nodes`
- Method [Chart.AddSankey](/api/chartforgex-core-chart/#method-addsankey-string-collections-generic-ienumerable-chartforgex-core-chartnode-collections-generic-ienumerable-chartforgex-core-chartflowlink-nullable-chartforgex-primitives-chartcolor) parameter `nodes`
- Method [Chart.AddTree](/api/chartforgex-core-chart/#method-addtree-string-collections-generic-ienumerable-chartforgex-core-chartnode-collections-generic-ienumerable-chartforgex-core-charttreelink-nullable-chartforgex-primitives-chartcolor) parameter `nodes`
- Method [ChartSeries.CreateChord](/api/chartforgex-core-chartseries/#method-createchord-chartforgex-core-chartseriesid-string-collections-generic-ienumerable-chartforgex-core-chartnode-collections-generic-ienumerable-chartforgex-core-chartflowlink-nullable-chartforgex-primitives-chartcolor) parameter `nodes`
- Method [ChartSeries.CreateSankey](/api/chartforgex-core-chartseries/#method-createsankey-chartforgex-core-chartseriesid-string-collections-generic-ienumerable-chartforgex-core-chartnode-collections-generic-ienumerable-chartforgex-core-chartflowlink-nullable-chartforgex-primitives-chartcolor) parameter `nodes`
- Method [ChartSeries.CreateTree](/api/chartforgex-core-chartseries/#method-createtree-chartforgex-core-chartseriesid-string-collections-generic-ienumerable-chartforgex-core-chartnode-collections-generic-ienumerable-chartforgex-core-charttreelink-nullable-chartforgex-primitives-chartcolor) parameter `nodes`
- Method [ChartSeries.ReplaceFlowData](/api/chartforgex-core-chartseries/#method-replaceflowdata-collections-generic-ienumerable-chartforgex-core-chartnode-collections-generic-ienumerable-chartforgex-core-chartflowlink) parameter `nodes`
- Method [ChartSeries.ReplaceTreeData](/api/chartforgex-core-chartseries/#method-replacetreedata-collections-generic-ienumerable-chartforgex-core-chartnode-collections-generic-ienumerable-chartforgex-core-charttreelink) parameter `nodes`

 Filter members   

    Show inherited   

 

## Constructors

 `public ChartNode(string id, string label)` [#](#constructor-ctor-string-string) 

[ChartNode.cs:15](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartNode.cs#L15)

Creates a node with an explicit identity and display label.

Parameters

**id string required**

**label string required**

## Inherited Methods

 `public override bool Equals(object? obj)` [#](#method-equals-object) 

Inherited from ValueType

Parameters

**obj object? required**

Returns

 `bool` 

 `public override int GetHashCode()` [#](#method-gethashcode) 

Inherited from ValueType

Returns

 `int` 

 `public Type GetType()` [#](#method-gettype) 

Inherited from object

Returns

 `Type` 

 `public override string? ToString()` [#](#method-tostring) 

Inherited from ValueType

Returns

 `string?` 

## Properties

 `public string Id { get; }` [#](#property-id) 

[ChartNode.cs:8](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartNode.cs#L8)

Gets the authored identity used by links, states, and interactive targets.

 `public string Label { get; }` [#](#property-label) 

[ChartNode.cs:11](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartNode.cs#L11)

Gets the display label. Different nodes may have the same label.

<!-- PowerForge markdown artifact sha256:1A8E0D92D480658AB391A84E9BEBED2C1216336513915B532E8967F6E9D460C9 -->
