# MermaidXYChartSeries

Describes a Mermaid XY chart data series.

 Class  

`ChartForgeX.Mermaid`

**Namespace**

`ChartForgeX.Mermaid`

**Assembly**

`ChartForgeX.Mermaid`

**Source**

[MermaidXYChartDocument.cs:86](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidXYChartDocument.cs#L86)

**Base**

`MermaidAstNode`

**Modifiers**

sealed

Describes a Mermaid XY chart data series.

## Inheritance

- [MermaidAstNode](/api/chartforgex-mermaid-mermaidastnode/)
- MermaidXYChartSeries

## Usage

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

- Property [MermaidXYChartDocument.Series](/api/chartforgex-mermaid-mermaidxychartdocument/#property-series)

 Filter members   

    Show inherited   

 

## Constructors

 `public MermaidXYChartSeries(MermaidXYChartSeriesKind kind, string name, IEnumerable<double> values, MermaidSourceSpan span)` [#](#constructor-ctor-chartforgex-mermaid-mermaidxychartserieskind-string-collections-generic-ienumerable-system-double-chartforgex-mermaid-mermaidsourcespan) 

[MermaidXYChartDocument.cs:86](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidXYChartDocument.cs#L86)

Initializes a Mermaid XY chart series.

Parameters

**kind ChartForgeX.Mermaid.MermaidXYChartSeriesKind required**

**name string required**

**values System.Collections.Generic.IEnumerable<double> required**

**span ChartForgeX.Mermaid.MermaidSourceSpan required**

## Inherited Methods

 `public virtual bool Equals(object? obj)` [#](#method-equals-object) 

Inherited from object

Parameters

**obj object? required**

Returns

 `bool` 

 `public virtual int GetHashCode()` [#](#method-gethashcode) 

Inherited from object

Returns

 `int` 

 `public Type GetType()` [#](#method-gettype) 

Inherited from object

Returns

 `Type` 

 `public virtual string? ToString()` [#](#method-tostring) 

Inherited from object

Returns

 `string?` 

## Properties

 `public MermaidXYChartSeriesKind Kind { get; set; }` [#](#property-kind) 

[MermaidXYChartDocument.cs:80](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidXYChartDocument.cs#L80)

Gets or sets the series kind.

 `public string Name { get; set; }` [#](#property-name) 

[MermaidXYChartDocument.cs:83](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidXYChartDocument.cs#L83)

Gets or sets the renderer-facing series name.

 `public List<double> Values { get; }` [#](#property-values) 

[MermaidXYChartDocument.cs:86](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidXYChartDocument.cs#L86)

Gets parsed numeric values.

 `public List<MermaidXYChartPointLabel> PointLabels { get; }` [#](#property-pointlabels) 

[MermaidXYChartDocument.cs:89](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidXYChartDocument.cs#L89)

Gets explicitly quoted datum captions, indexed into Values. Bar captions are retained but not drawn by the Mermaid bar mapping.

## Inherited Properties

 `public MermaidSourceSpan Span { get; }` [#](#property-span) 

[MermaidAstNode.cs:13](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidAstNode.cs#L13)

Inherited from [MermaidAstNode](/api/chartforgex-mermaid-mermaidastnode/)

<!-- PowerForge markdown artifact sha256:7CB16436BE58C314E6D530F0A9AB9B01F60931048CA5023F11A6D4A85913F1F1 -->
