Skip to content
ChartForgeX
Class

TimelineDiagramBlock

ChartForgeX.VisualBlocks

Namespace
ChartForgeX.VisualBlocks
Assembly
ChartForgeX
Modifiers
sealed

An ordered categorical timeline. Period labels need not be dates or quantities.

Inheritance

Usage

Explore 16 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.

Constructors

public TimelineDiagramBlock() #

Initializes an empty native diagram.

Methods

public TimelineDiagramBlock AddPeriod(string id, string label, IEnumerable<string> events, string? sectionId = null) #

Adds a period and its ordered events, without inventing a numeric duration.

Parameters

id string required
label string required
events System.Collections.Generic.IEnumerable<string> required
sectionId string? = null optional
public TimelineDiagramBlock AddSection(string id, string label) #

Adds a phase with a stable identity independent of its display label.

Parameters

id string required
label string required
public static TimelineDiagramBlock Create() #

Creates an empty categorical timeline.

Properties

public override string AccessibleName { get; } #

Gets a concise accessible diagram name.

public IReadOnlyList<TimelineSection> Sections { get; } #

Gets sections in authored order.

public IReadOnlyList<TimelinePeriod> Periods { get; } #

Gets periods and their ordered events.

public TimelineDiagramDirection Direction { get; set; } #

Gets or sets the reading direction.