Project

ChartForgeX

Render deterministic charts, dashboards, topology, hierarchy, and report visuals directly from .NET.

Stars 47
Forks 2
NuGet downloads 75,067
Release ChartForgeX-v2.0.0
Language: HTML Updated: 2026-10-12

API Reference

Class

MermaidXYChartDocument

Namespace ChartForgeX.Mermaid
Assembly ChartForgeX.Mermaid
Modifiers sealed

Describes a parsed Mermaid XY chart document.

Inheritance

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

Accepted by parameters 8

Constructors

public MermaidXYChartDocument() #

Properties

public List<MermaidRawStatement> Statements { get; } #

Gets retained raw body statements.

public ChartOrientation Orientation { get; set; } #

Gets or sets the requested chart orientation.

public String? Title { get; set; } #

Gets or sets the optional chart title.

public MermaidXYChartAxis XAxis { get; } #

Gets the optional x-axis declaration.

public MermaidXYChartAxis YAxis { get; } #

Gets the optional y-axis declaration.

public List<MermaidXYChartSeries> Series { get; } #

Gets parsed bar and line series in source order.

Extension Methods

public static Chart ToChart(MermaidXYChartDocument document, MermaidXYChartRenderOptions? options = null) #
Returns: Chart

Converts a Mermaid XY chart document into a renderer-independent ChartForgeX chart.

Parameters

document ChartForgeX.Mermaid.MermaidXYChartDocument requiredposition: 0
options ChartForgeX.Mermaid.MermaidXYChartRenderOptions? = null optionalposition: 1
public static Byte[] ToPng(MermaidXYChartDocument document, MermaidXYChartRenderOptions? options = null) #
Returns: Byte[]

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

Parameters

document ChartForgeX.Mermaid.MermaidXYChartDocument requiredposition: 0
options ChartForgeX.Mermaid.MermaidXYChartRenderOptions? = null optionalposition: 1
public static String ToSvg(MermaidXYChartDocument document, MermaidXYChartRenderOptions? options = null) #
Returns: String

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

Parameters

document ChartForgeX.Mermaid.MermaidXYChartDocument requiredposition: 0
options ChartForgeX.Mermaid.MermaidXYChartRenderOptions? = null optionalposition: 1
public static VisualArtifact ToVisualArtifact(MermaidXYChartDocument document, MermaidXYChartRenderOptions? options = null) #
Returns: VisualArtifact

Wraps a Mermaid XY chart document in a visual artifact envelope backed by a ChartForgeX chart.

Parameters

document ChartForgeX.Mermaid.MermaidXYChartDocument requiredposition: 0
options ChartForgeX.Mermaid.MermaidXYChartRenderOptions? = null optionalposition: 1