MermaidRadarDocument
ChartForgeX.Mermaid
Describes a parsed Mermaid radar diagram document.
Inheritance
- MermaidDocument
- MermaidRadarDocument
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.ParseRadar
Accepted by parameters 8
- Extension method MermaidRadarDocument.ToChart
- Extension method MermaidRadarDocument.ToPng
- Extension method MermaidRadarDocument.ToSvg
- Extension method MermaidRadarDocument.ToVisualArtifact
- Method MermaidRadarRendering.ToChart
- Method MermaidRadarRendering.ToPng
- Method MermaidRadarRendering.ToSvg
- Method MermaidRadarRendering.ToVisualArtifact
Constructors
public MermaidRadarDocument() #Inherited Methods
Properties
public List<MermaidRawStatement> Statements { get; } #Gets retained raw body statements.
public string? Title { get; set; } #Gets or sets the optional chart title.
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.
Inherited Properties
public MermaidSourceSpan HeaderSpan { get; set; } #public VisualAccessibility Accessibility { get; } #public MermaidSourceConfiguration Configuration { get; internal set; } #public List<MermaidDirective> Directives { get; } #public List<MermaidRawStatement> RawStatements { get; } #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
- options ChartForgeX.Mermaid.MermaidRadarRenderOptions? = null
Returns
Chartpublic 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
- options ChartForgeX.Mermaid.MermaidRadarRenderOptions? = null
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
- options ChartForgeX.Mermaid.MermaidRadarRenderOptions? = null
Returns
stringpublic 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
- options ChartForgeX.Mermaid.MermaidRadarRenderOptions? = null
Returns
VisualArtifact