Class NumericManual
- Namespace
- ScottPlot.TickGenerators
- Assembly
- ScottPlot.dll
public class NumericManual : ITickGenerator
- Inheritance
-
NumericManual
- Implements
- Inherited Members
- Extension Methods
Constructors
NumericManual()
public NumericManual()
NumericManual(Tick[])
public NumericManual(Tick[] ticks)
Parameters
ticks
Tick[]
NumericManual(double[], string[])
public NumericManual(double[] 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(double, string)
public void AddMajor(double position, string label)
Parameters
AddMinor(double)
public void AddMinor(double position)
Parameters
position
double
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