TimelineDiagramBlock
ChartForgeX.VisualBlocks
An ordered categorical timeline. Period labels need not be dates or quantities.
Inheritance
- VisualBlock<TimelineDiagramBlock>
- TimelineDiagramBlock
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.
Returned or exposed by 16
- Extension method MermaidTimelineDocument.ToTimelineDiagramBlock
- Method MermaidTimelineRendering.ToTimelineDiagramBlock
- Method TimelineDiagramBlock.AddPeriod
- Method TimelineDiagramBlock.AddSection
- Method TimelineDiagramBlock.ConfigureTheme
- Method TimelineDiagramBlock.Create
- Method TimelineDiagramBlock.WithCard
- Method TimelineDiagramBlock.WithHostFrame
- Method TimelineDiagramBlock.WithPadding
- Method TimelineDiagramBlock.WithPngOutputScale
- Method TimelineDiagramBlock.WithSize
- Method TimelineDiagramBlock.WithSubtitle
- Method TimelineDiagramBlock.WithTheme
- Method TimelineDiagramBlock.WithThemeMode
- Method TimelineDiagramBlock.WithTitle
- Method TimelineDiagramBlock.WithTransparentBackground
Constructors
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
- label string
- events System.Collections.Generic.IEnumerable<string>
- sectionId string? = null
Returns
TimelineDiagramBlockpublic TimelineDiagramBlock AddSection(string id, string label) #Adds a phase with a stable identity independent of its display label.
Parameters
- id string
- label string
Returns
TimelineDiagramBlockpublic static TimelineDiagramBlock Create() #Creates an empty categorical timeline.
Returns
TimelineDiagramBlockInherited Methods
public TimelineDiagramBlock ConfigureTheme(Action<VisualThemeBuilder> configure) #Parameters
- configure Action<VisualThemeBuilder>
Returns
TimelineDiagramBlockpublic virtual RgbaImage RenderRgba() #Returns
RgbaImagepublic virtual string RenderSvg(string idScope) #Parameters
- idScope string
Returns
stringpublic TimelineDiagramBlock WithCard(bool enabled = true) #Parameters
- enabled bool = true
Returns
TimelineDiagramBlockpublic TimelineDiagramBlock WithHostFrame(bool hostOwnsFrame = true) #Parameters
- hostOwnsFrame bool = true
Returns
TimelineDiagramBlockpublic TimelineDiagramBlock WithPadding(double padding) #Parameters
- padding double
Returns
TimelineDiagramBlockpublic TimelineDiagramBlock WithPadding(double left, double top, double right, double bottom) #Parameters
- left double
- top double
- right double
- bottom double
Returns
TimelineDiagramBlockpublic TimelineDiagramBlock WithPngOutputScale(int scale) #Parameters
- scale int
Returns
TimelineDiagramBlockpublic TimelineDiagramBlock WithSize(int width, int height) #Parameters
- width int
- height int
Returns
TimelineDiagramBlockpublic TimelineDiagramBlock WithSubtitle(string subtitle) #Parameters
- subtitle string
Returns
TimelineDiagramBlockpublic TimelineDiagramBlock WithTheme(VisualTheme theme, VisualThemeMode? mode = null) #Parameters
- theme VisualTheme
- mode VisualThemeMode? = null
Returns
TimelineDiagramBlockpublic TimelineDiagramBlock WithThemeMode(VisualThemeMode mode) #Parameters
- mode VisualThemeMode
Returns
TimelineDiagramBlockpublic TimelineDiagramBlock WithTitle(string title) #Parameters
- title string
Returns
TimelineDiagramBlockpublic TimelineDiagramBlock WithTransparentBackground(bool enabled = true) #Parameters
- enabled bool = true
Returns
TimelineDiagramBlockProperties
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.
Inherited Properties
public string Title { get; set; } #public string Subtitle { get; set; } #public VisualBlockOptions Options { get; } #