Skip to content
ChartForgeX
Class

ScheduleTimelineEvent

ChartForgeX.VisualBlocks

Namespace
ChartForgeX.VisualBlocks
Assembly
ChartForgeX.Visuals
Modifiers
sealed

One event pill in a schedule timeline.

Inheritance

  • object
  • ScheduleTimelineEvent

Usage

Explore 2 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 2

Constructors

public ScheduleTimelineEvent(string title, double start, double end, int lane = 0, ChartColor? color = null, Tone? tone = null, string? badge = null, string[]? avatars = null) #

Initializes a schedule event.

Parameters

title string required
start double required
end double required
lane int = 0 optional
color ChartForgeX.Primitives.ChartColor? = null optional
tone ChartForgeX.Tone? = null optional
badge string? = null optional
avatars string[]? = null optional

Methods

public ScheduleTimelineEvent AddAvatar(string label) #

Adds an avatar label.

Parameters

label string required

Properties

public string Title { get; set; } #

Gets or sets the event title.

public double Start { get; set; } #

Gets or sets the event start time as numeric hours.

public double End { get; set; } #

Gets or sets the event end time as numeric hours.

public int Lane { get; set; } #

Gets or sets the vertical lane index.

public ChartColor? Color { get; set; } #

Gets or sets an optional event color.

public Tone Tone { get; set; } #

Gets or sets semantic event status.

public string Badge { get; set; } #

Gets or sets optional compact badge text.

public IReadOnlyList<string> Avatars { get; } #

Gets compact avatar labels shown at the trailing edge of the event.