Table of Contents

Class DateTimeManual

Namespace
ScottPlot.TickGenerators
Assembly
ScottPlot.dll
public class DateTimeManual : ITickGenerator
Inheritance
DateTimeManual
Implements
Inherited Members
Extension Methods

Constructors

DateTimeManual()

public DateTimeManual()

DateTimeManual(Tick[])

public DateTimeManual(Tick[] ticks)

Parameters

ticks Tick[]

DateTimeManual(DateTime[], string[])

public DateTimeManual(DateTime[] positions, string[] labels)

Parameters

positions DateTime[]
labels string[]

Properties

MaxTickCount

Do not generate more than this number of ticks

public int MaxTickCount { get; set; }

Property Value

int

Ticks

Ticks to display the next time the axis is rendered. This array and its contents should not be modified directly. Call Regenerate() to update this array.

public Tick[] Ticks { get; }

Property Value

Tick[]

Methods

Add(Tick)

public void Add(Tick tick)

Parameters

tick Tick

AddMajor(DateTime, string)

public void AddMajor(DateTime position, string label)

Parameters

position DateTime
label string

AddMinor(DateTime)

public void AddMinor(DateTime position)

Parameters

position DateTime

Regenerate(CoordinateRange, Edge, PixelLength, SKPaint, LabelStyle)

Generate ticks based on the current settings and store the result in Ticks

public void Regenerate(CoordinateRange range, Edge edge, PixelLength size, SKPaint paint, LabelStyle labelStyle)

Parameters

range CoordinateRange
edge Edge
size PixelLength
paint SKPaint
labelStyle LabelStyle