ScottPlot
Loading...
Searching...
No Matches
Public Member Functions | Properties | List of all members
ScottPlot.TickGenerators.DateTimeManual Class Reference
Inheritance diagram for ScottPlot.TickGenerators.DateTimeManual:
ScottPlot.ITickGenerator

Public Member Functions

 DateTimeManual ()
 
 DateTimeManual (Tick[] ticks)
 
 DateTimeManual (DateTime[] positions, string[] labels)
 
void Regenerate (CoordinateRange range, Edge edge, PixelLength size, SKPaint paint, LabelStyle labelStyle)
 Generate ticks based on the current settings and store the result in Ticks
 
void Add (Tick tick)
 
void AddMajor (DateTime position, string label)
 
void AddMinor (DateTime position)
 

Properties

Tick[] Ticks = [] [get]
 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.
 
int MaxTickCount = 50 [get, set]
 Do not generate more than this number of ticks.
 
- Properties inherited from ScottPlot.ITickGenerator

Constructor & Destructor Documentation

◆ DateTimeManual() [1/3]

ScottPlot.TickGenerators.DateTimeManual.DateTimeManual ( )
inline

◆ DateTimeManual() [2/3]

ScottPlot.TickGenerators.DateTimeManual.DateTimeManual ( Tick[]  ticks)
inline

◆ DateTimeManual() [3/3]

ScottPlot.TickGenerators.DateTimeManual.DateTimeManual ( DateTime[]  positions,
string[]  labels 
)
inline

Member Function Documentation

◆ Add()

void ScottPlot.TickGenerators.DateTimeManual.Add ( Tick  tick)
inline

◆ AddMajor()

void ScottPlot.TickGenerators.DateTimeManual.AddMajor ( DateTime  position,
string  label 
)
inline

◆ AddMinor()

void ScottPlot.TickGenerators.DateTimeManual.AddMinor ( DateTime  position)
inline

◆ Regenerate()

void ScottPlot.TickGenerators.DateTimeManual.Regenerate ( CoordinateRange  range,
Edge  edge,
PixelLength  size,
SKPaint  paint,
LabelStyle  labelStyle 
)
inline

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

Implements ScottPlot.ITickGenerator.

Property Documentation

◆ MaxTickCount

int ScottPlot.TickGenerators.DateTimeManual.MaxTickCount = 50
getset

Do not generate more than this number of ticks.

Implements ScottPlot.ITickGenerator.

◆ Ticks

Tick [] ScottPlot.TickGenerators.DateTimeManual.Ticks = []
get

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.

Implements ScottPlot.ITickGenerator.


The documentation for this class was generated from the following file: