# ChartTimeTickInterval

An immutable calendar tick interval, independent of axis label formatting.

 Class  

`ChartForgeX.Core`

**Namespace**

`ChartForgeX.Core`

**Assembly**

`ChartForgeX`

**Source**

[ChartTimeTickInterval.cs:30](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartTimeTickInterval.cs#L30)

**Modifiers**

sealed

An immutable calendar tick interval, independent of axis label formatting.

## Inheritance

- object
- ChartTimeTickInterval

## Remarks

Counts filter boundaries within the containing calendar unit: two days selects days 1, 3, 5, and so on. Weeks and milliseconds use epoch alignment. Intervals exceeding the renderer's tick budget use automatic ticks.

## Usage

 Explore 10 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 4

- Property [ChartAxis.TimeTickStep](/api/chartforgex-core-chartaxis/#property-timetickstep)
- Property [ChartGanttOptions.TickInterval](/api/chartforgex-core-chartganttoptions/#property-tickinterval)
- Property [ChartSeries.TimeBucketInterval](/api/chartforgex-core-chartseries/#property-timebucketinterval)
- Property [ChartTimeSpacing.CalendarUnit](/api/chartforgex-core-charttimespacing/#property-calendarunit)

### Accepted by parameters 6

- Extension method [ChartAxis.TickStep](/api/chartforgex-core-chartaxis/#extension-tickstep-chartforgex-core-chartaxis-chartforgex-core-charttimetickinterval) parameter `step`
- Method [ChartAxisFluent.TickStep](/api/chartforgex-core-chartaxisfluent/#method-tickstep-chartforgex-core-chartaxis-chartforgex-core-charttimetickinterval) parameter `step`
- Extension method [ChartGanttOptions.TickInterval](/api/chartforgex-core-chartganttoptions/#extension-tickinterval-chartforgex-core-chartganttoptions-chartforgex-core-charttimetickinterval) parameter `value`
- Method [ChartGanttOptionsFluent.TickInterval](/api/chartforgex-core-chartganttoptionsfluent/#method-tickinterval-chartforgex-core-chartganttoptions-chartforgex-core-charttimetickinterval) parameter `value`
- Method [ChartSeries.TimeBuckets](/api/chartforgex-core-chartseries/#method-timebuckets-chartforgex-core-charttimetickinterval) parameter `interval`
- Method [ChartTimeSpacing.Unit](/api/chartforgex-core-charttimespacing/#method-unit-chartforgex-core-charttimetickinterval) parameter `unit`

 Filter members   

    Show inherited   

 

## Constructors

 `public ChartTimeTickInterval(ChartTimeTickUnit unit, int count = 1, DayOfWeek weekStart = Monday)` [#](#constructor-ctor-chartforgex-core-charttimetickunit-int32-dayofweek) 

[ChartTimeTickInterval.cs:30](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartTimeTickInterval.cs#L30)

Initializes a positive interval and, for weekly ticks, its starting weekday.

Parameters

**unit ChartForgeX.Core.ChartTimeTickUnit required**

**count int = 1 optional**

**weekStart System.DayOfWeek = Monday optional**

## 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 ChartTimeTickUnit Unit { get; }` [#](#property-unit) 

[ChartTimeTickInterval.cs:38](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartTimeTickInterval.cs#L38)

Gets the calendar boundary unit.

 `public int Count { get; }` [#](#property-count) 

[ChartTimeTickInterval.cs:40](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartTimeTickInterval.cs#L40)

Gets the positive boundary filter count.

 `public DayOfWeek WeekStart { get; }` [#](#property-weekstart) 

[ChartTimeTickInterval.cs:42](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartTimeTickInterval.cs#L42)

Gets the weekday used for weekly boundaries.

<!-- PowerForge markdown artifact sha256:11160ED9FEB2BC6D2BDA8662CA155C80EAA3CB9EAB34642471083AF98869F5D6 -->
