Class
ScheduleTimelineEvent
ChartForgeX.VisualBlocks
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
- Property ScheduleTimelineBlock.Events
- Method ScheduleTimelineEvent.AddAvatar
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
- start double
- end double
- lane int = 0
- color ChartForgeX.Primitives.ChartColor? = null
- tone ChartForgeX.Tone? = null
- badge string? = null
- avatars string[]? = null
Methods
public ScheduleTimelineEvent AddAvatar(string label) #Adds an avatar label.
Parameters
- label string
Returns
ScheduleTimelineEventInherited Methods
Properties
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 ChartColor? Color { get; set; } #Gets or sets an optional event color.
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.