Skip to content
ChartForgeX
Class

MermaidRadarDocument

ChartForgeX.Mermaid

Namespace
ChartForgeX.Mermaid
Assembly
ChartForgeX.Mermaid
Modifiers
sealed

Describes a parsed Mermaid radar diagram 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 MermaidRadarDocument() #

Properties

public List<MermaidRawStatement> Statements { get; } #

Gets retained raw body statements.

public string? Title { get; set; } #

Gets or sets the optional chart title.

public List<MermaidRadarAxis> Axes { get; } #

Gets parsed radar axes.

public List<MermaidRadarCurve> Curves { get; } #

Gets parsed radar curves.

public bool ShowLegend { get; set; } #

Gets or sets whether the legend should be shown.

public double? Minimum { get; set; } #

Gets or sets the optional minimum radar scale.

public double? Maximum { get; set; } #

Gets or sets the optional maximum radar scale.

public double? Ticks { get; set; } #

Gets or sets the optional radial interval count, including fractional spacing divisors.

public string? Graticule { get; set; } #

Gets or sets the optional Mermaid graticule style.

Extension Methods

public static Chart ToChart(MermaidRadarDocument document, MermaidRadarRenderOptions? options = null) #

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

Parameters

document ChartForgeX.Mermaid.MermaidRadarDocument required
options ChartForgeX.Mermaid.MermaidRadarRenderOptions? = null optional

Returns

Chart
public static byte[] ToPng(MermaidRadarDocument document, MermaidRadarRenderOptions? options = null) #

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

Parameters

document ChartForgeX.Mermaid.MermaidRadarDocument required
options ChartForgeX.Mermaid.MermaidRadarRenderOptions? = null optional

Returns

byte[]
public static string ToSvg(MermaidRadarDocument document, MermaidRadarRenderOptions? options = null) #

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

Parameters

document ChartForgeX.Mermaid.MermaidRadarDocument required
options ChartForgeX.Mermaid.MermaidRadarRenderOptions? = null optional

Returns

string
public static VisualArtifact ToVisualArtifact(MermaidRadarDocument document, MermaidRadarRenderOptions? options = null) #

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

Parameters

document ChartForgeX.Mermaid.MermaidRadarDocument required
options ChartForgeX.Mermaid.MermaidRadarRenderOptions? = null optional