# ChartGanttOptions

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

 Class  

`ChartForgeX.Core`

**Namespace**

`ChartForgeX.Core`

**Assembly**

`ChartForgeX`

**Source**

[ChartGanttOptions.cs:19](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartGanttOptions.cs#L19)

**Modifiers**

sealed

**Attributes**

 `Fluent(Copy = "Clone")` 

Gantt markers, ticks and open ends. Configure it through [ChartOptions.Gantt](/api/chartforgex-core-chartoptions/).

## 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.

### Returned or exposed by 9

- Extension method [ChartGanttOptions.OpenEndStyle](/api/chartforgex-core-chartganttoptions/#extension-openendstyle-chartforgex-core-chartganttoptions-chartforgex-core-chartganttopenendstyle)
- Extension method [ChartGanttOptions.TickInterval](/api/chartforgex-core-chartganttoptions/#extension-tickinterval-chartforgex-core-chartganttoptions-chartforgex-core-charttimetickinterval)
- Extension method [ChartGanttOptions.Today](/api/chartforgex-core-chartganttoptions/#extension-today-chartforgex-core-chartganttoptions-nullable-system-double)
- Extension method [ChartGanttOptions.TodayStyle](/api/chartforgex-core-chartganttoptions/#extension-todaystyle-chartforgex-core-chartganttoptions-chartforgex-core-chartstrokestyle)
- Method [ChartGanttOptionsFluent.OpenEndStyle](/api/chartforgex-core-chartganttoptionsfluent/#method-openendstyle-chartforgex-core-chartganttoptions-chartforgex-core-chartganttopenendstyle)
- Method [ChartGanttOptionsFluent.TickInterval](/api/chartforgex-core-chartganttoptionsfluent/#method-tickinterval-chartforgex-core-chartganttoptions-chartforgex-core-charttimetickinterval)
- Method [ChartGanttOptionsFluent.Today](/api/chartforgex-core-chartganttoptionsfluent/#method-today-chartforgex-core-chartganttoptions-nullable-system-double)
- Method [ChartGanttOptionsFluent.TodayStyle](/api/chartforgex-core-chartganttoptionsfluent/#method-todaystyle-chartforgex-core-chartganttoptions-chartforgex-core-chartstrokestyle)
- Property [ChartOptions.Gantt](/api/chartforgex-core-chartoptions/#property-gantt)

### Accepted by parameters 16

- Extension method [Chart.Gantt](/api/chartforgex-core-chart/#extension-gantt-chartforgex-core-chart-action-chartforgex-core-chartganttoptions) parameter `configure`
- Extension method [Chart.Gantt](/api/chartforgex-core-chart/#extension-gantt-chartforgex-core-chart-chartforgex-core-chartganttoptions) parameter `value`
- Method [ChartFluent.Gantt](/api/chartforgex-core-chartfluent/#method-gantt-chartforgex-core-chart-action-chartforgex-core-chartganttoptions) parameter `configure`
- Method [ChartFluent.Gantt](/api/chartforgex-core-chartfluent/#method-gantt-chartforgex-core-chart-chartforgex-core-chartganttoptions) parameter `value`
- Extension method [ChartGanttOptions.OpenEndStyle](/api/chartforgex-core-chartganttoptions/#extension-openendstyle-chartforgex-core-chartganttoptions-chartforgex-core-chartganttopenendstyle) parameter `chartGanttOptions`
- Extension method [ChartGanttOptions.TickInterval](/api/chartforgex-core-chartganttoptions/#extension-tickinterval-chartforgex-core-chartganttoptions-chartforgex-core-charttimetickinterval) parameter `chartGanttOptions`
- Extension method [ChartGanttOptions.Today](/api/chartforgex-core-chartganttoptions/#extension-today-chartforgex-core-chartganttoptions-nullable-system-double) parameter `chartGanttOptions`
- Extension method [ChartGanttOptions.TodayStyle](/api/chartforgex-core-chartganttoptions/#extension-todaystyle-chartforgex-core-chartganttoptions-chartforgex-core-chartstrokestyle) parameter `chartGanttOptions`
- Method [ChartGanttOptionsFluent.OpenEndStyle](/api/chartforgex-core-chartganttoptionsfluent/#method-openendstyle-chartforgex-core-chartganttoptions-chartforgex-core-chartganttopenendstyle) parameter `chartGanttOptions`
- Method [ChartGanttOptionsFluent.TickInterval](/api/chartforgex-core-chartganttoptionsfluent/#method-tickinterval-chartforgex-core-chartganttoptions-chartforgex-core-charttimetickinterval) parameter `chartGanttOptions`
- Method [ChartGanttOptionsFluent.Today](/api/chartforgex-core-chartganttoptionsfluent/#method-today-chartforgex-core-chartganttoptions-nullable-system-double) parameter `chartGanttOptions`
- Method [ChartGanttOptionsFluent.TodayStyle](/api/chartforgex-core-chartganttoptionsfluent/#method-todaystyle-chartforgex-core-chartganttoptions-chartforgex-core-chartstrokestyle) parameter `chartGanttOptions`
- Extension method [ChartOptions.Gantt](/api/chartforgex-core-chartoptions/#extension-gantt-chartforgex-core-chartoptions-action-chartforgex-core-chartganttoptions) parameter `configure`
- Extension method [ChartOptions.Gantt](/api/chartforgex-core-chartoptions/#extension-gantt-chartforgex-core-chartoptions-chartforgex-core-chartganttoptions) parameter `value`
- Method [ChartOptionsFluent.Gantt](/api/chartforgex-core-chartoptionsfluent/#method-gantt-chartforgex-core-chartoptions-action-chartforgex-core-chartganttoptions) parameter `configure`
- Method [ChartOptionsFluent.Gantt](/api/chartforgex-core-chartoptionsfluent/#method-gantt-chartforgex-core-chartoptions-chartforgex-core-chartganttoptions) parameter `value`

 Filter members   

    Show inherited   

 

## Constructors

 `public ChartGanttOptions()` [#](#constructor-ctor) 

## Inherited Methods

 `public virtual bool Equals(object? obj)` [#](#method-equals-object) 

Inherited from object

Parameters

**obj object? required**

Returns

 `bool` 

 `public virtual int GetHashCode()` [#](#method-gethashcode) 

Inherited from object

Returns

 `int` 

 `public Type GetType()` [#](#method-gettype) 

Inherited from object

Returns

 `Type` 

 `public virtual string? ToString()` [#](#method-tostring) 

Inherited from object

Returns

 `string?` 

## Properties

 `public double? Today { get; set; }` [#](#property-today) 

[ChartGanttOptions.cs:19](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartGanttOptions.cs#L19)

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

 `public ChartTimeTickInterval? TickInterval { get; set; }` [#](#property-tickinterval) 

[ChartGanttOptions.cs:29](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartGanttOptions.cs#L29)

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; }` [#](#property-openendstyle) 

[ChartGanttOptions.cs:37](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartGanttOptions.cs#L37)

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

 `public ChartStrokeStyle? TodayStyle { get; set; }` [#](#property-todaystyle) 

[ChartGanttOptions.cs:45](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartGanttOptions.cs#L45)

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

## Extension Methods

 `public static ChartGanttOptions OpenEndStyle(ChartGanttOptions chartGanttOptions, ChartGanttOpenEndStyle value)` [#](#extension-openendstyle-chartforgex-core-chartganttoptions-chartforgex-core-chartganttopenendstyle) 

Sets [ChartGanttOptions.OpenEndStyle](/api/chartforgex-core-chartganttoptions/): 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

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

 `public static ChartGanttOptions TickInterval(ChartGanttOptions chartGanttOptions, ChartTimeTickInterval? value)` [#](#extension-tickinterval-chartforgex-core-chartganttoptions-chartforgex-core-charttimetickinterval) 

Sets [ChartGanttOptions.TickInterval](/api/chartforgex-core-chartganttoptions/): 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

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

 `public static ChartGanttOptions Today(ChartGanttOptions chartGanttOptions, double? value)` [#](#extension-today-chartforgex-core-chartganttoptions-nullable-system-double) 

Sets [ChartGanttOptions.Today](/api/chartforgex-core-chartganttoptions/): 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

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

 `public static ChartGanttOptions TodayStyle(ChartGanttOptions chartGanttOptions, ChartStrokeStyle? value)` [#](#extension-todaystyle-chartforgex-core-chartganttoptions-chartforgex-core-chartstrokestyle) 

Sets [ChartGanttOptions.TodayStyle](/api/chartforgex-core-chartganttoptions/): 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

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

<!-- PowerForge markdown artifact sha256:0B65B90698991005F3DCFCEF1237E3E76A60AB62650B73BC0FD63322D58BCE7A -->
