# ChartSankeyLabelPlacement

Controls the measured label's position relative to a Sankey node bar.

 Enum  

`ChartForgeX.Core`

**Namespace**

`ChartForgeX.Core`

**Assembly**

`ChartForgeX`

**Source**

[ChartSankeyLabelPlacement.cs:4](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartSankeyLabelPlacement.cs#L4)

**Base**

`Enum`

**Implements**

 `IComparable` `ISpanFormattable` `IFormattable` `IConvertible` 

**Modifiers**

sealed

Controls the measured label's position relative to a Sankey node bar.

## Inheritance

- Enum
- ChartSankeyLabelPlacement

## 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 4

- Field [ChartSankeyLabelPlacement.Center](/api/chartforgex-core-chartsankeylabelplacement/#field-center)
- Field [ChartSankeyLabelPlacement.Left](/api/chartforgex-core-chartsankeylabelplacement/#field-left)
- Field [ChartSankeyLabelPlacement.Right](/api/chartforgex-core-chartsankeylabelplacement/#field-right)
- Property [ChartSankeyOptions.LabelPlacement](/api/chartforgex-core-chartsankeyoptions/#property-labelplacement)

### Accepted by parameters 2

- Extension method [ChartSankeyOptions.LabelPlacement](/api/chartforgex-core-chartsankeyoptions/#extension-labelplacement-chartforgex-core-chartsankeyoptions-chartforgex-core-chartsankeylabelplacement) parameter `value`
- Method [ChartSankeyOptionsFluent.LabelPlacement](/api/chartforgex-core-chartsankeyoptionsfluent/#method-labelplacement-chartforgex-core-chartsankeyoptions-chartforgex-core-chartsankeylabelplacement) parameter `value`

 Filter members   

    Show inherited   

 

## Inherited Methods

 `public int CompareTo(object? target)` [#](#method-compareto-object) 

Inherited from Enum

Parameters

**target object? required**

Returns

 `int` 

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

Inherited from Enum

Parameters

**obj object? required**

Returns

 `bool` 

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

Inherited from Enum

Returns

 `int` 

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

Inherited from object

Returns

 `Type` 

 `public TypeCode GetTypeCode()` [#](#method-gettypecode) 

Inherited from Enum

Returns

 `TypeCode` 

 `public bool HasFlag(Enum flag)` [#](#method-hasflag-enum) 

Inherited from Enum

Parameters

**flag Enum required**

Returns

 `bool` 

 ToString 4 overloads 

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

Inherited from Enum

Returns

 `string` 

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

Inherited from Enum

Parameters

**format string? required**

Returns

 `string` 

 `public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider) 

Inherited from Enum

 `Obsolete("The provider argument is not used. Use ToString() instead.")` 

Parameters

**provider IFormatProvider? required**

Returns

 `string` 

 `public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider) 

Inherited from Enum

 `Obsolete("The provider argument is not used. Use ToString(String) instead.")` 

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

 `string` 

## Values

 `public const ChartSankeyLabelPlacement Left` [#](#field-left) 

[ChartSankeyLabelPlacement.cs:6](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartSankeyLabelPlacement.cs#L6)

Places the label to the left of the node bar, right aligned.

Value: `0`

 `public const ChartSankeyLabelPlacement Right` [#](#field-right) 

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

Places the label to the right of the node bar, left aligned.

Value: `1`

 `public const ChartSankeyLabelPlacement Center` [#](#field-center) 

[ChartSankeyLabelPlacement.cs:10](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartSankeyLabelPlacement.cs#L10)

Centers the label over the node bar using the configured label paint.

Value: `2`

<!-- PowerForge markdown artifact sha256:9C4B9665E8C4CC52A4E423DF851388629D6FCC1836D1EDC86C57EF718A3F72F4 -->
