# ChartAnnotationKind

Defines the kind of annotation rendered on a chart.

 Enum  

`ChartForgeX.Core`

**Namespace**

`ChartForgeX.Core`

**Assembly**

`ChartForgeX`

**Source**

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

**Base**

`Enum`

**Implements**

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

**Modifiers**

sealed

Defines the kind of annotation rendered on a chart.

## Inheritance

- Enum
- ChartAnnotationKind

## Usage

 Explore 9 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 8

- Property [ChartAnnotation.Kind](/api/chartforgex-core-chartannotation/#property-kind)
- Field [ChartAnnotationKind.HorizontalBand](/api/chartforgex-core-chartannotationkind/#field-horizontalband)
- Field [ChartAnnotationKind.HorizontalLine](/api/chartforgex-core-chartannotationkind/#field-horizontalline)
- Field [ChartAnnotationKind.LineSegment](/api/chartforgex-core-chartannotationkind/#field-linesegment)
- Field [ChartAnnotationKind.Note](/api/chartforgex-core-chartannotationkind/#field-note)
- Field [ChartAnnotationKind.ParallelChannel](/api/chartforgex-core-chartannotationkind/#field-parallelchannel)
- Field [ChartAnnotationKind.VerticalBand](/api/chartforgex-core-chartannotationkind/#field-verticalband)
- Field [ChartAnnotationKind.VerticalLine](/api/chartforgex-core-chartannotationkind/#field-verticalline)

### Accepted by parameters 1

- Constructor [ChartAnnotation.ChartAnnotation](/api/chartforgex-core-chartannotation/#constructor-ctor-chartforgex-core-chartannotationkind-double-nullable-system-double-string-chartforgex-primitives-chartcolor-double-boolean) parameter `kind`

 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 ChartAnnotationKind HorizontalLine` [#](#field-horizontalline) 

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

Renders a horizontal line at a y-axis value.

Value: `0`

 `public const ChartAnnotationKind VerticalLine` [#](#field-verticalline) 

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

Renders a vertical line at an x-axis value.

Value: `1`

 `public const ChartAnnotationKind HorizontalBand` [#](#field-horizontalband) 

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

Renders a horizontal band between two y-axis values.

Value: `2`

 `public const ChartAnnotationKind VerticalBand` [#](#field-verticalband) 

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

Renders a vertical band between two x-axis values.

Value: `3`

 `public const ChartAnnotationKind Note` [#](#field-note) 

[ChartAnnotationKind.cs:28](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartAnnotationKind.cs#L28)

Renders a caption anchored to one Cartesian source coordinate.

Value: `4`

 `public const ChartAnnotationKind LineSegment` [#](#field-linesegment) 

[ChartAnnotationKind.cs:31](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartAnnotationKind.cs#L31)

Renders a finite line between two Cartesian source coordinates.

Value: `5`

 `public const ChartAnnotationKind ParallelChannel` [#](#field-parallelchannel) 

[ChartAnnotationKind.cs:34](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartAnnotationKind.cs#L34)

Renders a source-coordinate line and its parallel source-Y offset, with a filled channel between them.

Value: `6`

<!-- PowerForge markdown artifact sha256:9552B76DA91C2A77A96EFFCB9BC42A94CA64A451CE1D05C7342002B7D2532B2A -->
