# ChartMapScaleLegendPosition

Defines where map scale legends are rendered.

 Enum  

`ChartForgeX.Core`

**Namespace**

`ChartForgeX.Core`

**Assembly**

`ChartForgeX`

**Source**

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

**Base**

`Enum`

**Implements**

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

**Modifiers**

sealed

Defines where map scale legends are rendered.

## Inheritance

- Enum
- ChartMapScaleLegendPosition

## Usage

 Explore 5 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 [ChartMapOptions.ScaleLegendPosition](/api/chartforgex-core-chartmapoptions/#property-scalelegendposition)
- Field [ChartMapScaleLegendPosition.Bottom](/api/chartforgex-core-chartmapscalelegendposition/#field-bottom)
- Field [ChartMapScaleLegendPosition.Right](/api/chartforgex-core-chartmapscalelegendposition/#field-right)

### Accepted by parameters 2

- Extension method [ChartMapOptions.ScaleLegendPosition](/api/chartforgex-core-chartmapoptions/#extension-scalelegendposition-chartforgex-core-chartmapoptions-chartforgex-core-chartmapscalelegendposition) parameter `value`
- Method [ChartMapOptionsFluent.ScaleLegendPosition](/api/chartforgex-core-chartmapoptionsfluent/#method-scalelegendposition-chartforgex-core-chartmapoptions-chartforgex-core-chartmapscalelegendposition) 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 ChartMapScaleLegendPosition Bottom` [#](#field-bottom) 

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

Renders a compact horizontal legend below the map.

Value: `0`

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

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

Renders a vertical legend to the right of the map.

Value: `1`

<!-- PowerForge markdown artifact sha256:4867FFC5BCF9725C5188E2DC7585CE1C87613A2975BCBE60D366B3701A334F6F -->
