Skip to content
ChartForgeX
Class

ChartTimeTickInterval

ChartForgeX.Core

Namespace
ChartForgeX.Core
Assembly
ChartForgeX
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.

Accepted by parameters 6

Constructors

public ChartTimeTickInterval(ChartTimeTickUnit unit, int count = 1, DayOfWeek weekStart = Monday) #

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

Properties

public ChartTimeTickUnit Unit { get; } #

Gets the calendar boundary unit.

public int Count { get; } #

Gets the positive boundary filter count.

public DayOfWeek WeekStart { get; } #

Gets the weekday used for weekly boundaries.