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

MermaidGanttDocument

Namespace ChartForgeX.Mermaid
Assembly ChartForgeX.Mermaid
Modifiers sealed

Describes a parsed Mermaid Gantt diagram.

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 MermaidGanttDocument() #

Properties

public List<MermaidRawStatement> Statements { get; } #

Gets retained non-empty Gantt statements.

public String? Title { get; set; } #

Gets or sets the optional Mermaid title.

public String DateFormat { get; set; } #

Gets or sets the Mermaid dateFormat directive.

public String? AxisFormat { get; set; } #

Gets or sets the optional Mermaid axisFormat directive.

public String? TickInterval { get; set; } #

Gets or sets the optional Mermaid tickInterval directive.

public String? Excludes { get; set; } #

Gets or sets the optional Mermaid excludes directive.

public String? Includes { get; set; } #

Gets or sets dates that override excluded days.

public String Weekend { get; set; } #

Gets or sets the first weekend day, friday or saturday.

public String? TodayMarker { get; set; } #

Gets or sets the optional Mermaid todayMarker directive.

public List<MermaidGanttSection> Sections { get; } #

Gets Gantt sections in source order.

public List<MermaidGanttTask> Tasks { get; } #

Gets Gantt tasks in source order.

Extension Methods

public static Chart ToChart(MermaidGanttDocument document, MermaidGanttRenderOptions? options = null) #
Returns: Chart

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

Parameters

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

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

Parameters

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

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

Parameters

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

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

Parameters

document ChartForgeX.Mermaid.MermaidGanttDocument requiredposition: 0
options ChartForgeX.Mermaid.MermaidGanttRenderOptions? = null optionalposition: 1