# ChartMarkerShape

Built-in shapes shared by numeric point markers and their legends.

 Enum  

`ChartForgeX.Core`

**Namespace**

`ChartForgeX.Core`

**Assembly**

`ChartForgeX`

**Source**

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

**Base**

`Enum`

**Implements**

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

**Modifiers**

sealed

Built-in shapes shared by numeric point markers and their legends.

## Inheritance

- Enum
- ChartMarkerShape

## Usage

 Explore 14 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 11

- Property [ChartLegendItem.MarkerShape](/api/chartforgex-core-chartlegenditem/#property-markershape)
- Property [ChartMarkerOptions.Shape](/api/chartforgex-core-chartmarkeroptions/#property-shape)
- Field [ChartMarkerShape.Circle](/api/chartforgex-core-chartmarkershape/#field-circle)
- Field [ChartMarkerShape.Cross](/api/chartforgex-core-chartmarkershape/#field-cross)
- Field [ChartMarkerShape.Diamond](/api/chartforgex-core-chartmarkershape/#field-diamond)
- Field [ChartMarkerShape.Heart](/api/chartforgex-core-chartmarkershape/#field-heart)
- Field [ChartMarkerShape.Pin](/api/chartforgex-core-chartmarkershape/#field-pin)
- Field [ChartMarkerShape.Plus](/api/chartforgex-core-chartmarkershape/#field-plus)
- Field [ChartMarkerShape.Square](/api/chartforgex-core-chartmarkershape/#field-square)
- Field [ChartMarkerShape.Star](/api/chartforgex-core-chartmarkershape/#field-star)
- Field [ChartMarkerShape.Triangle](/api/chartforgex-core-chartmarkershape/#field-triangle)

### Accepted by parameters 3

- Method [ChartLegendItem.Marker](/api/chartforgex-core-chartlegenditem/#method-marker-string-chartforgex-primitives-chartcolor-chartforgex-core-chartmarkershape) parameter `shape`
- Extension method [ChartMarkerOptions.Shape](/api/chartforgex-core-chartmarkeroptions/#extension-shape-chartforgex-core-chartmarkeroptions-chartforgex-core-chartmarkershape) parameter `value`
- Method [ChartMarkerOptionsFluent.Shape](/api/chartforgex-core-chartmarkeroptionsfluent/#method-shape-chartforgex-core-chartmarkeroptions-chartforgex-core-chartmarkershape) 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 ChartMarkerShape Circle` [#](#field-circle) 

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

A circle centered on the observation.

Value: `0`

 `public const ChartMarkerShape Square` [#](#field-square) 

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

A square centered on the observation.

Value: `1`

 `public const ChartMarkerShape Diamond` [#](#field-diamond) 

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

A diamond centered on the observation.

Value: `2`

 `public const ChartMarkerShape Triangle` [#](#field-triangle) 

[ChartMarkerShape.cs:12](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartMarkerShape.cs#L12)

An upward-pointing triangle centered on the observation.

Value: `3`

 `public const ChartMarkerShape Plus` [#](#field-plus) 

[ChartMarkerShape.cs:14](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartMarkerShape.cs#L14)

A filled upright plus.

Value: `4`

 `public const ChartMarkerShape Cross` [#](#field-cross) 

[ChartMarkerShape.cs:16](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartMarkerShape.cs#L16)

A filled diagonal cross.

Value: `5`

 `public const ChartMarkerShape Heart` [#](#field-heart) 

[ChartMarkerShape.cs:18](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartMarkerShape.cs#L18)

A heart centered on the observation.

Value: `6`

 `public const ChartMarkerShape Pin` [#](#field-pin) 

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

A location pin contained within the marker's bounds.

Value: `7`

 `public const ChartMarkerShape Star` [#](#field-star) 

[ChartMarkerShape.cs:22](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartMarkerShape.cs#L22)

A five-point star centered on the observation.

Value: `8`

<!-- PowerForge markdown artifact sha256:F68550227888FFA0E0D9BBC1A706CB0C5D0C67119A57BFF1AF3EAB632AEA8932 -->
