# ChartDataLabelPlacement

Defines preferred placement for data labels on capable chart renderers.

 Enum  

`ChartForgeX.Core`

**Namespace**

`ChartForgeX.Core`

**Assembly**

`ChartForgeX`

**Source**

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

**Base**

`Enum`

**Implements**

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

**Modifiers**

sealed

Defines preferred placement for data labels on capable chart renderers.

## Inheritance

- Enum
- ChartDataLabelPlacement

## Usage

 Explore 21 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 13

- Property [ChartDataLabelOptions.Placement](/api/chartforgex-core-chartdatalabeloptions/#property-placement)
- Field [ChartDataLabelPlacement.Above](/api/chartforgex-core-chartdatalabelplacement/#field-above)
- Field [ChartDataLabelPlacement.Auto](/api/chartforgex-core-chartdatalabelplacement/#field-auto)
- Field [ChartDataLabelPlacement.Below](/api/chartforgex-core-chartdatalabelplacement/#field-below)
- Field [ChartDataLabelPlacement.Center](/api/chartforgex-core-chartdatalabelplacement/#field-center)
- Field [ChartDataLabelPlacement.Inside](/api/chartforgex-core-chartdatalabelplacement/#field-inside)
- Field [ChartDataLabelPlacement.Left](/api/chartforgex-core-chartdatalabelplacement/#field-left)
- Field [ChartDataLabelPlacement.Outside](/api/chartforgex-core-chartdatalabelplacement/#field-outside)
- Field [ChartDataLabelPlacement.Right](/api/chartforgex-core-chartdatalabelplacement/#field-right)
- Property [ChartSeries.DataLabelPlacement](/api/chartforgex-core-chartseries/#property-datalabelplacement)
- Property [ChartValueLabelOptions.Placement](/api/chartforgex-core-chartvaluelabeloptions/#property-placement)
- Property [VisualArtifactInterchangeWaterfallArtifact.DataLabelPlacement](/api/chartforgex-visualartifacts-visualartifactinterchangewaterfallartifact/#property-datalabelplacement)
- Property [VisualArtifactInterchangeWaterfallArtifact.SeriesDataLabelPlacement](/api/chartforgex-visualartifacts-visualartifactinterchangewaterfallartifact/#property-seriesdatalabelplacement)

### Accepted by parameters 8

- Method [Chart.AddPointCallout](/api/chartforgex-core-chart/#method-addpointcallout-string-chartforgex-primitives-chartpoint-nullable-chartforgex-primitives-chartcolor-chartforgex-core-chartdatalabelplacement) parameter `placement`
- Method [Chart.DashboardTrendFocus](/api/chartforgex-core-chart/#method-dashboardtrendfocus-double-double-string-nullable-chartforgex-primitives-chartcolor-chartforgex-core-chartdatalabelplacement) parameter `placement`
- Extension method [ChartDataLabelOptions.Placement](/api/chartforgex-core-chartdatalabeloptions/#extension-placement-chartforgex-core-chartdatalabeloptions-chartforgex-core-chartdatalabelplacement) parameter `value`
- Method [ChartDataLabelOptionsFluent.Placement](/api/chartforgex-core-chartdatalabeloptionsfluent/#method-placement-chartforgex-core-chartdatalabeloptions-chartforgex-core-chartdatalabelplacement) parameter `value`
- Extension method [ChartSeries.DataLabelPlacement](/api/chartforgex-core-chartseries/#extension-datalabelplacement-chartforgex-core-chartseries-nullable-chartforgex-core-chartdatalabelplacement) parameter `value`
- Method [ChartSeriesFluent.DataLabelPlacement](/api/chartforgex-core-chartseriesfluent/#method-datalabelplacement-chartforgex-core-chartseries-nullable-chartforgex-core-chartdatalabelplacement) parameter `value`
- Extension method [ChartValueLabelOptions.Placement](/api/chartforgex-core-chartvaluelabeloptions/#extension-placement-chartforgex-core-chartvaluelabeloptions-nullable-chartforgex-core-chartdatalabelplacement) parameter `value`
- Method [ChartValueLabelOptionsFluent.Placement](/api/chartforgex-core-chartvaluelabeloptionsfluent/#method-placement-chartforgex-core-chartvaluelabeloptions-nullable-chartforgex-core-chartdatalabelplacement) 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 ChartDataLabelPlacement Auto` [#](#field-auto) 

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

Lets the renderer choose an edge-aware placement.

Value: `0`

 `public const ChartDataLabelPlacement Above` [#](#field-above) 

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

Places labels above the mark when possible.

Value: `1`

 `public const ChartDataLabelPlacement Below` [#](#field-below) 

[ChartDataLabelPlacement.cs:20](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartDataLabelPlacement.cs#L20)

Places labels below the mark when possible.

Value: `2`

 `public const ChartDataLabelPlacement Inside` [#](#field-inside) 

[ChartDataLabelPlacement.cs:25](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartDataLabelPlacement.cs#L25)

Places labels inside the mark when possible.

Value: `3`

 `public const ChartDataLabelPlacement Outside` [#](#field-outside) 

[ChartDataLabelPlacement.cs:30](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartDataLabelPlacement.cs#L30)

Places labels outside the mark when possible.

Value: `4`

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

[ChartDataLabelPlacement.cs:35](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartDataLabelPlacement.cs#L35)

Places labels centered on the mark when possible.

Value: `5`

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

[ChartDataLabelPlacement.cs:40](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartDataLabelPlacement.cs#L40)

Places labels to the left of the mark when possible.

Value: `6`

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

[ChartDataLabelPlacement.cs:45](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartDataLabelPlacement.cs#L45)

Places labels to the right of the mark when possible.

Value: `7`

<!-- PowerForge markdown artifact sha256:13598466F2DFC35A32A3AB9FAFF2566F342192451D98ADF92D7B88D479D72F14 -->
