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
ContinuousScaleTimeScale
Constructors
| Name | Description |
|---|---|
| TimeScale() |
TimeScale()
public TimeScale()No documentation is available.
Properties
| Name | Description |
|---|---|
| End | Gets or sets the end of the domain, or null to use ContinuousScale.Maximum or the latest time of the data. |
| Start | Gets or sets the start of the domain, or null to use ContinuousScale.Minimum or the earliest time of the data. |
| TimeFormat | Gets or sets the format of the tick labels, or null for the default format. It takes precedence over ContinuousScale.TickFormat. |
End
TimeScale.csGets 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
Start
TimeScale.csGets 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
TimeFormat
TimeScale.csGets 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; }