# MermaidQuadrantDocument

Describes a parsed Mermaid quadrant chart.

 Class  

`ChartForgeX.Mermaid`

**Namespace**

`ChartForgeX.Mermaid`

**Assembly**

`ChartForgeX.Mermaid`

**Source**

[MermaidQuadrantDocument.cs:11](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidQuadrantDocument.cs#L11)

**Base**

`MermaidDocument`

**Modifiers**

sealed

Describes a parsed Mermaid quadrant chart.

## Inheritance

- [MermaidDocument](/api/chartforgex-mermaid-mermaiddocument/)
- MermaidQuadrantDocument

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

- Method [MermaidParser.ParseQuadrant](/api/chartforgex-mermaid-mermaidparser/#method-parsequadrant-string)

### Accepted by parameters 8

- Extension method [MermaidQuadrantDocument.ToChart](/api/chartforgex-mermaid-mermaidquadrantdocument/#extension-tochart-chartforgex-mermaid-mermaidquadrantdocument-chartforgex-mermaid-mermaidquadrantrenderoptions) parameter `document`
- Extension method [MermaidQuadrantDocument.ToPng](/api/chartforgex-mermaid-mermaidquadrantdocument/#extension-topng-chartforgex-mermaid-mermaidquadrantdocument-chartforgex-mermaid-mermaidquadrantrenderoptions) parameter `document`
- Extension method [MermaidQuadrantDocument.ToSvg](/api/chartforgex-mermaid-mermaidquadrantdocument/#extension-tosvg-chartforgex-mermaid-mermaidquadrantdocument-chartforgex-mermaid-mermaidquadrantrenderoptions) parameter `document`
- Extension method [MermaidQuadrantDocument.ToVisualArtifact](/api/chartforgex-mermaid-mermaidquadrantdocument/#extension-tovisualartifact-chartforgex-mermaid-mermaidquadrantdocument-chartforgex-mermaid-mermaidquadrantrenderoptions) parameter `document`
- Method [MermaidQuadrantRendering.ToChart](/api/chartforgex-mermaid-mermaidquadrantrendering/#method-tochart-chartforgex-mermaid-mermaidquadrantdocument-chartforgex-mermaid-mermaidquadrantrenderoptions) parameter `document`
- Method [MermaidQuadrantRendering.ToPng](/api/chartforgex-mermaid-mermaidquadrantrendering/#method-topng-chartforgex-mermaid-mermaidquadrantdocument-chartforgex-mermaid-mermaidquadrantrenderoptions) parameter `document`
- Method [MermaidQuadrantRendering.ToSvg](/api/chartforgex-mermaid-mermaidquadrantrendering/#method-tosvg-chartforgex-mermaid-mermaidquadrantdocument-chartforgex-mermaid-mermaidquadrantrenderoptions) parameter `document`
- Method [MermaidQuadrantRendering.ToVisualArtifact](/api/chartforgex-mermaid-mermaidquadrantrendering/#method-tovisualartifact-chartforgex-mermaid-mermaidquadrantdocument-chartforgex-mermaid-mermaidquadrantrenderoptions) parameter `document`

 Filter members   

    Show inherited   

 

## Constructors

 `public MermaidQuadrantDocument()` [#](#constructor-ctor) 

[MermaidQuadrantDocument.cs:11](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidQuadrantDocument.cs#L11)

## 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 List<MermaidRawStatement> Statements { get; }` [#](#property-statements) 

[MermaidQuadrantDocument.cs:11](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidQuadrantDocument.cs#L11)

Gets raw quadrant statements retained with source spans.

 `public string? Title { get; set; }` [#](#property-title) 

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

Gets or sets the optional Mermaid quadrant title.

 `public string? XAxisStart { get; set; }` [#](#property-xaxisstart) 

[MermaidQuadrantDocument.cs:17](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidQuadrantDocument.cs#L17)

Gets or sets the low-side X axis label.

 `public string? XAxisEnd { get; set; }` [#](#property-xaxisend) 

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

Gets or sets the high-side X axis label.

 `public string? YAxisStart { get; set; }` [#](#property-yaxisstart) 

[MermaidQuadrantDocument.cs:23](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidQuadrantDocument.cs#L23)

Gets or sets the low-side Y axis label.

 `public string? YAxisEnd { get; set; }` [#](#property-yaxisend) 

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

Gets or sets the high-side Y axis label.

 `public Dictionary<int, string> QuadrantLabels { get; }` [#](#property-quadrantlabels) 

[MermaidQuadrantDocument.cs:29](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidQuadrantDocument.cs#L29)

Gets quadrant labels keyed from 1 to 4.

 `public List<MermaidStyleDefinition> ClassDefinitions { get; }` [#](#property-classdefinitions) 

[MermaidQuadrantDocument.cs:32](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidQuadrantDocument.cs#L32)

Gets source-ordered named point styles. The last complete definition of a name wins.

 `public List<MermaidQuadrantPoint> Points { get; }` [#](#property-points) 

[MermaidQuadrantDocument.cs:35](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidQuadrantDocument.cs#L35)

Gets plotted quadrant points in source order.

## Inherited Properties

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

[MermaidDocument.cs:91](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidDocument.cs#L91)

Inherited from [MermaidDocument](/api/chartforgex-mermaid-mermaiddocument/)

 `public bool IsDiagnosticOnly { get; }` [#](#property-isdiagnosticonly) 

[MermaidDocument.cs:94](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidDocument.cs#L94)

Inherited from [MermaidDocument](/api/chartforgex-mermaid-mermaiddocument/)

 `public string SourceText { get; set; }` [#](#property-sourcetext) 

[MermaidDocument.cs:97](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidDocument.cs#L97)

Inherited from [MermaidDocument](/api/chartforgex-mermaid-mermaiddocument/)

 `public MermaidSourceSpan HeaderSpan { get; set; }` [#](#property-headerspan) 

[MermaidDocument.cs:100](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidDocument.cs#L100)

Inherited from [MermaidDocument](/api/chartforgex-mermaid-mermaiddocument/)

 `public string Header { get; set; }` [#](#property-header) 

[MermaidDocument.cs:103](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidDocument.cs#L103)

Inherited from [MermaidDocument](/api/chartforgex-mermaid-mermaiddocument/)

 `public string? FrontMatter { get; set; }` [#](#property-frontmatter) 

[MermaidDocument.cs:106](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidDocument.cs#L106)

Inherited from [MermaidDocument](/api/chartforgex-mermaid-mermaiddocument/)

 `public VisualAccessibility Accessibility { get; }` [#](#property-accessibility) 

[MermaidDocument.cs:109](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidDocument.cs#L109)

Inherited from [MermaidDocument](/api/chartforgex-mermaid-mermaiddocument/)

 `public string? Theme { get; set; }` [#](#property-theme) 

[MermaidDocument.cs:112](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidDocument.cs#L112)

Inherited from [MermaidDocument](/api/chartforgex-mermaid-mermaiddocument/)

 `public MermaidSourceConfiguration Configuration { get; internal set; }` [#](#property-configuration) 

[MermaidDocument.cs:115](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidDocument.cs#L115)

Inherited from [MermaidDocument](/api/chartforgex-mermaid-mermaiddocument/)

 `public List<MermaidDirective> Directives { get; }` [#](#property-directives) 

[MermaidDocument.cs:118](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidDocument.cs#L118)

Inherited from [MermaidDocument](/api/chartforgex-mermaid-mermaiddocument/)

 `public List<MermaidRawStatement> RawStatements { get; }` [#](#property-rawstatements) 

[MermaidDocument.cs:121](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidDocument.cs#L121)

Inherited from [MermaidDocument](/api/chartforgex-mermaid-mermaiddocument/)

## Extension Methods

 `public static Chart ToChart(MermaidQuadrantDocument document, MermaidQuadrantRenderOptions? options = null)` [#](#extension-tochart-chartforgex-mermaid-mermaidquadrantdocument-chartforgex-mermaid-mermaidquadrantrenderoptions) 

[MermaidQuadrantRendering.cs:19](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidQuadrantRendering.cs#L19)

Converts a Mermaid quadrant document into a scatter chart with four native background regions.

Parameters

**document ChartForgeX.Mermaid.MermaidQuadrantDocument required**

**options ChartForgeX.Mermaid.MermaidQuadrantRenderOptions? = null optional**

Returns

 `Chart` 

 `public static byte[] ToPng(MermaidQuadrantDocument document, MermaidQuadrantRenderOptions? options = null)` [#](#extension-topng-chartforgex-mermaid-mermaidquadrantdocument-chartforgex-mermaid-mermaidquadrantrenderoptions) 

[MermaidQuadrantRendering.cs:112](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidQuadrantRendering.cs#L112)

Renders a Mermaid quadrant document to static PNG through ChartForgeX chart rendering.

Parameters

**document ChartForgeX.Mermaid.MermaidQuadrantDocument required**

**options ChartForgeX.Mermaid.MermaidQuadrantRenderOptions? = null optional**

Returns

 `byte[]` 

 `public static string ToSvg(MermaidQuadrantDocument document, MermaidQuadrantRenderOptions? options = null)` [#](#extension-tosvg-chartforgex-mermaid-mermaidquadrantdocument-chartforgex-mermaid-mermaidquadrantrenderoptions) 

[MermaidQuadrantRendering.cs:106](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidQuadrantRendering.cs#L106)

Renders a Mermaid quadrant document to static SVG through ChartForgeX chart rendering.

Parameters

**document ChartForgeX.Mermaid.MermaidQuadrantDocument required**

**options ChartForgeX.Mermaid.MermaidQuadrantRenderOptions? = null optional**

Returns

 `string` 

 `public static VisualArtifact ToVisualArtifact(MermaidQuadrantDocument document, MermaidQuadrantRenderOptions? options = null)` [#](#extension-tovisualartifact-chartforgex-mermaid-mermaidquadrantdocument-chartforgex-mermaid-mermaidquadrantrenderoptions) 

[MermaidQuadrantRendering.cs:87](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidQuadrantRendering.cs#L87)

Wraps a Mermaid quadrant document in an artifact backed by native scatter points and quadrant regions.

Parameters

**document ChartForgeX.Mermaid.MermaidQuadrantDocument required**

**options ChartForgeX.Mermaid.MermaidQuadrantRenderOptions? = null optional**

Returns

 `VisualArtifact` 

<!-- PowerForge markdown artifact sha256:268CF93F2F131D31E19BD2A1297B7E7D431FD817DCD233541621520C0260B3CD -->
