Skip to content
ChartForgeX
Class

ScheduleTimelineBlock

ChartForgeX.VisualBlocks

Namespace
ChartForgeX.VisualBlocks
Assembly
ChartForgeX.Visuals
Implements
IVisualBlock IStaticVisualSource IFactualVisualPixels
Modifiers
sealed
Attributes
Fluent

A dense dashboard schedule timeline with time-of-day axis, grid lines, lanes, and event pills.

Inheritance

Usage

Explore 77 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 41

Accepted by parameters 36

Constructors

public ScheduleTimelineBlock() #

Methods

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

Adds 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
public static ScheduleTimelineBlock Create() #

Creates a new schedule timeline block.

Properties

public IReadOnlyList<ScheduleTimelineEvent> Events { get; } #

Gets schedule events.

public double Start { get; set; } #

Gets or sets the visible start time as numeric hours.

public double End { get; set; } #

Gets or sets the visible end time as numeric hours.

public double TickInterval { get; set; } #

Gets or sets the time-axis tick interval in hours.

public double? CurrentTime { get; set; } #

Gets or sets the optional current-time marker.

public bool ShowGrid { get; set; } #

Gets or sets whether vertical time grid lines are shown.

Extension Methods

public static ScheduleTimelineBlock Accessibility(ScheduleTimelineBlock scheduleTimelineBlock, Action<VisualAccessibility> configure) #

Configures VisualBlockOptions.Accessibility in place.

Parameters

scheduleTimelineBlock ChartForgeX.VisualBlocks.ScheduleTimelineBlock required
The instance.
configure System.Action<ChartForgeX.Accessibility.VisualAccessibility> required
Configures the value.

Returns

ScheduleTimelineBlock The same instance.
public static ScheduleTimelineBlock CurrentTime(ScheduleTimelineBlock scheduleTimelineBlock, double? value) #

Sets ScheduleTimelineBlock.CurrentTime: Gets or sets the optional current-time marker.

Parameters

scheduleTimelineBlock ChartForgeX.VisualBlocks.ScheduleTimelineBlock required
The instance.
value double? required
The value.

Returns

ScheduleTimelineBlock The same instance.

Examples

// C# initializer or property                                                          // C# fluent
new global::ChartForgeX.VisualBlocks.ScheduleTimelineBlock { CurrentTime = value };    scheduleTimelineBlock.CurrentTime(value);
public static ScheduleTimelineBlock End(ScheduleTimelineBlock scheduleTimelineBlock, double value) #

Sets ScheduleTimelineBlock.End: Gets or sets the visible end time as numeric hours.

Parameters

scheduleTimelineBlock ChartForgeX.VisualBlocks.ScheduleTimelineBlock required
The instance.
value double required
The value.

Returns

ScheduleTimelineBlock The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ChartForgeX.VisualBlocks.ScheduleTimelineBlock { End = value };    scheduleTimelineBlock.End(value);
public static ScheduleTimelineBlock HostOwnsFrame(ScheduleTimelineBlock scheduleTimelineBlock, bool value = true) #

Sets VisualBlockOptions.HostOwnsFrame.

Parameters

scheduleTimelineBlock ChartForgeX.VisualBlocks.ScheduleTimelineBlock required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ScheduleTimelineBlock The same instance.

Examples

// C# initializer or property                                                                                                                                   // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.ScheduleTimelineBlock>)scheduleTimelineBlock).Options.HostOwnsFrame = value;    scheduleTimelineBlock.HostOwnsFrame(value);
public static ScheduleTimelineBlock Options(ScheduleTimelineBlock scheduleTimelineBlock, Action<VisualBlockOptions> configure) #

Configures VisualBlock<ScheduleTimelineBlock>.Options in place.

Parameters

scheduleTimelineBlock ChartForgeX.VisualBlocks.ScheduleTimelineBlock required
The instance.
configure System.Action<ChartForgeX.VisualBlocks.VisualBlockOptions> required
Configures the value.

Returns

ScheduleTimelineBlock The same instance.
public static ScheduleTimelineBlock Padding(ScheduleTimelineBlock scheduleTimelineBlock, ChartPadding value) #

Sets VisualBlockOptions.Padding.

Parameters

scheduleTimelineBlock ChartForgeX.VisualBlocks.ScheduleTimelineBlock required
The instance.
value ChartForgeX.Primitives.ChartPadding required
The value.

Returns

ScheduleTimelineBlock The same instance.

Examples

// C# initializer or property                                                                                                                             // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.ScheduleTimelineBlock>)scheduleTimelineBlock).Options.Padding = value;    scheduleTimelineBlock.Padding(value);
public static ScheduleTimelineBlock RasterScale(ScheduleTimelineBlock scheduleTimelineBlock, int value) #

Sets VisualBlockOptions.RasterScale.

Parameters

scheduleTimelineBlock ChartForgeX.VisualBlocks.ScheduleTimelineBlock required
The instance.
value int required
The value.

Returns

ScheduleTimelineBlock The same instance.

Examples

// C# initializer or property                                                                                                                                 // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.ScheduleTimelineBlock>)scheduleTimelineBlock).Options.RasterScale = value;    scheduleTimelineBlock.RasterScale(value);
public static ScheduleTimelineBlock ShowCard(ScheduleTimelineBlock scheduleTimelineBlock, bool value = true) #

Sets VisualBlockOptions.ShowCard.

Parameters

scheduleTimelineBlock ChartForgeX.VisualBlocks.ScheduleTimelineBlock required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ScheduleTimelineBlock The same instance.

Examples

// C# initializer or property                                                                                                                              // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.ScheduleTimelineBlock>)scheduleTimelineBlock).Options.ShowCard = value;    scheduleTimelineBlock.ShowCard(value);
public static ScheduleTimelineBlock ShowGrid(ScheduleTimelineBlock scheduleTimelineBlock, bool value = true) #

Sets ScheduleTimelineBlock.ShowGrid: Gets or sets whether vertical time grid lines are shown.

Parameters

scheduleTimelineBlock ChartForgeX.VisualBlocks.ScheduleTimelineBlock required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ScheduleTimelineBlock The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::ChartForgeX.VisualBlocks.ScheduleTimelineBlock { ShowGrid = value };    scheduleTimelineBlock.ShowGrid(value);
public static ScheduleTimelineBlock Size(ScheduleTimelineBlock scheduleTimelineBlock, ChartSize value) #

Sets VisualBlockOptions.Size.

Parameters

scheduleTimelineBlock ChartForgeX.VisualBlocks.ScheduleTimelineBlock required
The instance.
value ChartForgeX.Primitives.ChartSize required
The value.

Returns

ScheduleTimelineBlock The same instance.

Examples

// C# initializer or property                                                                                                                          // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.ScheduleTimelineBlock>)scheduleTimelineBlock).Options.Size = value;    scheduleTimelineBlock.Size(value);
public static ScheduleTimelineBlock Start(ScheduleTimelineBlock scheduleTimelineBlock, double value) #

Sets ScheduleTimelineBlock.Start: Gets or sets the visible start time as numeric hours.

Parameters

scheduleTimelineBlock ChartForgeX.VisualBlocks.ScheduleTimelineBlock required
The instance.
value double required
The value.

Returns

ScheduleTimelineBlock The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::ChartForgeX.VisualBlocks.ScheduleTimelineBlock { Start = value };    scheduleTimelineBlock.Start(value);
public static ScheduleTimelineBlock Subtitle(ScheduleTimelineBlock scheduleTimelineBlock, string value) #

Sets VisualBlock<ScheduleTimelineBlock>.Subtitle.

Parameters

scheduleTimelineBlock ChartForgeX.VisualBlocks.ScheduleTimelineBlock required
The instance.
value string required
The value.

Returns

ScheduleTimelineBlock The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::ChartForgeX.VisualBlocks.ScheduleTimelineBlock { Subtitle = value };    scheduleTimelineBlock.Subtitle(value);
public static ScheduleTimelineBlock SvgColorVariables(ScheduleTimelineBlock scheduleTimelineBlock, SvgColorVariables? value) #

Sets VisualBlockOptions.SvgColorVariables.

Parameters

scheduleTimelineBlock ChartForgeX.VisualBlocks.ScheduleTimelineBlock required
The instance.
value ChartForgeX.Themes.SvgColorVariables? required
The value.

Returns

ScheduleTimelineBlock The same instance.

Examples

// C# initializer or property                                                                                                                                       // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.ScheduleTimelineBlock>)scheduleTimelineBlock).Options.SvgColorVariables = value;    scheduleTimelineBlock.SvgColorVariables(value);
public static ScheduleTimelineBlock Theme(ScheduleTimelineBlock scheduleTimelineBlock, VisualTheme value) #

Sets VisualBlockOptions.Theme.

Parameters

scheduleTimelineBlock ChartForgeX.VisualBlocks.ScheduleTimelineBlock required
The instance.
value ChartForgeX.Themes.VisualTheme required
The value.

Returns

ScheduleTimelineBlock The same instance.

Examples

// C# initializer or property                                                                                                                           // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.ScheduleTimelineBlock>)scheduleTimelineBlock).Options.Theme = value;    scheduleTimelineBlock.Theme(value);
public static ScheduleTimelineBlock ThemeMode(ScheduleTimelineBlock scheduleTimelineBlock, ThemeMode value) #

Sets VisualBlockOptions.ThemeMode.

Parameters

scheduleTimelineBlock ChartForgeX.VisualBlocks.ScheduleTimelineBlock required
The instance.
value ChartForgeX.ThemeMode required
The value.

Returns

ScheduleTimelineBlock The same instance.

Examples

// C# initializer or property                                                                                                                               // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.ScheduleTimelineBlock>)scheduleTimelineBlock).Options.ThemeMode = value;    scheduleTimelineBlock.ThemeMode(value);
public static ScheduleTimelineBlock TickInterval(ScheduleTimelineBlock scheduleTimelineBlock, double value) #

Sets ScheduleTimelineBlock.TickInterval: Gets or sets the time-axis tick interval in hours.

Parameters

scheduleTimelineBlock ChartForgeX.VisualBlocks.ScheduleTimelineBlock required
The instance.
value double required
The value.

Returns

ScheduleTimelineBlock The same instance.

Examples

// C# initializer or property                                                           // C# fluent
new global::ChartForgeX.VisualBlocks.ScheduleTimelineBlock { TickInterval = value };    scheduleTimelineBlock.TickInterval(value);
public static ScheduleTimelineBlock Title(ScheduleTimelineBlock scheduleTimelineBlock, string value) #

Sets VisualBlock<ScheduleTimelineBlock>.Title.

Parameters

scheduleTimelineBlock ChartForgeX.VisualBlocks.ScheduleTimelineBlock required
The instance.
value string required
The value.

Returns

ScheduleTimelineBlock The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::ChartForgeX.VisualBlocks.ScheduleTimelineBlock { Title = value };    scheduleTimelineBlock.Title(value);
public static ScheduleTimelineBlock TransparentBackground(ScheduleTimelineBlock scheduleTimelineBlock, bool value = true) #

Sets VisualBlockOptions.TransparentBackground.

Parameters

scheduleTimelineBlock ChartForgeX.VisualBlocks.ScheduleTimelineBlock required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ScheduleTimelineBlock The same instance.

Examples

// C# initializer or property                                                                                                                                           // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.ScheduleTimelineBlock>)scheduleTimelineBlock).Options.TransparentBackground = value;    scheduleTimelineBlock.TransparentBackground(value);