# ChartLabelDensity

Defines how aggressively renderers reduce axis labels when space is limited.

 Enum  

`ChartForgeX.Core`

**Namespace**

`ChartForgeX.Core`

**Assembly**

`ChartForgeX`

**Source**

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

**Base**

`Enum`

**Implements**

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

**Modifiers**

sealed

Defines how aggressively renderers reduce axis labels when space is limited.

## Inheritance

- Enum
- ChartLabelDensity

## Usage

 Explore 7 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 5

- Property [ChartAxis.LabelDensity](/api/chartforgex-core-chartaxis/#property-labeldensity)
- Field [ChartLabelDensity.All](/api/chartforgex-core-chartlabeldensity/#field-all)
- Field [ChartLabelDensity.Auto](/api/chartforgex-core-chartlabeldensity/#field-auto)
- Field [ChartLabelDensity.Dense](/api/chartforgex-core-chartlabeldensity/#field-dense)
- Field [ChartLabelDensity.Relaxed](/api/chartforgex-core-chartlabeldensity/#field-relaxed)

### Accepted by parameters 2

- Extension method [ChartAxis.LabelDensity](/api/chartforgex-core-chartaxis/#extension-labeldensity-chartforgex-core-chartaxis-chartforgex-core-chartlabeldensity) parameter `value`
- Method [ChartAxisFluent.LabelDensity](/api/chartforgex-core-chartaxisfluent/#method-labeldensity-chartforgex-core-chartaxis-chartforgex-core-chartlabeldensity) 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 ChartLabelDensity Auto` [#](#field-auto) 

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

Lets the renderer choose a balanced label count for the available space.

Value: `0`

 `public const ChartLabelDensity Dense` [#](#field-dense) 

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

Keeps more labels visible and accepts tighter spacing.

Value: `1`

 `public const ChartLabelDensity Relaxed` [#](#field-relaxed) 

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

Shows fewer labels to preserve generous spacing.

Value: `2`

 `public const ChartLabelDensity All` [#](#field-all) 

[ChartLabelDensity.cs:26](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartLabelDensity.cs#L26)

Keeps eligible axis labels without collision thinning. Individual labels still fit their viewport and avoid marks; text may be shortened or omitted when it cannot fit. Coincident full-turn ticks remain a single seam caption.

Value: `3`

<!-- PowerForge markdown artifact sha256:3810AD3994CF23599A4E301AA4D86FFADCE5F55A330A67DDA035E53752200D0A -->
