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
ticksTick[]
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
tickTick
AddMajor(DateTime, string)
public void AddMajor(DateTime position, string label)
Parameters
AddMinor(DateTime)
public void AddMinor(DateTime position)
Parameters
positionDateTime
Regenerate(CoordinateRange, Edge, PixelLength, Paint, LabelStyle)
Generate ticks based on the current settings and store the result in Ticks
public void Regenerate(CoordinateRange range, Edge edge, PixelLength size, Paint paint, LabelStyle labelStyle)
Parameters
rangeCoordinateRangeedgeEdgesizePixelLengthpaintPaintlabelStyleLabelStyle