Skip to content
ChartForgeX
Class

ChartGanttOptions

ChartForgeX.Core

Namespace
ChartForgeX.Core
Assembly
ChartForgeX
Modifiers
sealed
Attributes
Fluent(Copy = "Clone")

Gantt markers, ticks and open ends. Configure it through ChartOptions.Gantt.

Inheritance

  • object
  • ChartGanttOptions

Usage

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

Accepted by parameters 16

Constructors

public ChartGanttOptions() #

Properties

public double? Today { get; set; } #

Gets or sets the optional Gantt current-date marker as an OLE Automation date or numeric schedule value.

public ChartTimeTickInterval? TickInterval { get; set; } #

Gets or sets fixed calendar ticks for classic Gantt time axes. Null uses automatic ticks. Explicit axis labels take precedence; windows without a boundary have no tick labels.

public ChartGanttOpenEndStyle OpenEndStyle { get; set; } #

Gets or sets the continuation style for open classic tasks and Gantt-lane items.

public ChartStrokeStyle? TodayStyle { get; set; } #

Gets or sets optional stroke overrides for classic Gantt and lane current-time guides.

Extension Methods

public static ChartGanttOptions OpenEndStyle(ChartGanttOptions chartGanttOptions, ChartGanttOpenEndStyle value) #

Sets ChartGanttOptions.OpenEndStyle: Gets or sets the continuation style for open classic tasks and Gantt-lane items.

Parameters

chartGanttOptions ChartForgeX.Core.ChartGanttOptions required
The instance.
value ChartForgeX.Core.ChartGanttOpenEndStyle required
The value.

Returns

ChartGanttOptions The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ChartForgeX.Core.ChartGanttOptions { OpenEndStyle = value };    chartGanttOptions.OpenEndStyle(value);
public static ChartGanttOptions TickInterval(ChartGanttOptions chartGanttOptions, ChartTimeTickInterval? value) #

Sets ChartGanttOptions.TickInterval: Gets or sets fixed calendar ticks for classic Gantt time axes. Null uses automatic ticks. Explicit axis labels take precedence; windows without a boundary have no tick labels.

Parameters

chartGanttOptions ChartForgeX.Core.ChartGanttOptions required
The instance.
value ChartForgeX.Core.ChartTimeTickInterval? required
The value.

Returns

ChartGanttOptions The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ChartForgeX.Core.ChartGanttOptions { TickInterval = value };    chartGanttOptions.TickInterval(value);
public static ChartGanttOptions Today(ChartGanttOptions chartGanttOptions, double? value) #

Sets ChartGanttOptions.Today: Gets or sets the optional Gantt current-date marker as an OLE Automation date or numeric schedule value.

Parameters

chartGanttOptions ChartForgeX.Core.ChartGanttOptions required
The instance.
value double? required
The value.

Returns

ChartGanttOptions The same instance.

Examples

// C# initializer or property                                        // C# fluent
new global::ChartForgeX.Core.ChartGanttOptions { Today = value };    chartGanttOptions.Today(value);
public static ChartGanttOptions TodayStyle(ChartGanttOptions chartGanttOptions, ChartStrokeStyle? value) #

Sets ChartGanttOptions.TodayStyle: Gets or sets optional stroke overrides for classic Gantt and lane current-time guides.

Parameters

chartGanttOptions ChartForgeX.Core.ChartGanttOptions required
The instance.
value ChartForgeX.Core.ChartStrokeStyle? required
The value.

Returns

ChartGanttOptions The same instance.

Examples

// C# initializer or property                                             // C# fluent
new global::ChartForgeX.Core.ChartGanttOptions { TodayStyle = value };    chartGanttOptions.TodayStyle(value);