TimeScale Class

A scale of times, in UTC. Its ticks fall on calendar boundaries (seconds, minutes, hours, days, weeks, months, years), and each label shows the largest unit the tick does not fall on: 2024, Mar, Mar 15, 06:00.

public sealed class TimeScale : ContinuousScale
Inheritance
ContinuousScale TimeScale

Constructors

NameDescription
TimeScale()

TimeScale()

public TimeScale()

No documentation is available.

Properties

NameDescription
EndGets or sets the end of the domain, or null to use ContinuousScale.Maximum or the latest time of the data.
StartGets or sets the start of the domain, or null to use ContinuousScale.Minimum or the earliest time of the data.
TimeFormatGets or sets the format of the tick labels, or null for the default format. It takes precedence over ContinuousScale.TickFormat.

Gets or sets the end of the domain, or null to use ContinuousScale.Maximum or the latest time of the data.

public DateTimeOffset? End { get; set; }

Property value

DateTimeOffset?

Gets or sets the start of the domain, or null to use ContinuousScale.Minimum or the earliest time of the data.

public DateTimeOffset? Start { get; set; }

Property value

DateTimeOffset?

TimeFormat

TimeScale.cs

Gets or sets the format of the tick labels, or null for the default format. It takes precedence over ContinuousScale.TickFormat.

public Func<DateTimeOffset, string>? TimeFormat { get; set; }