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
Properties
MaxTickCount
Do not generate more than this number of ticks
public int MaxTickCount { get; set; }
Property Value
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
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
CoordinateRangeedge
Edgesize
PixelLengthpaint
SKPaintlabelStyle
LabelStyle