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
ticksTick[]
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
tickTick
AddMajor(double, string)
public void AddMajor(double position, string label)
Parameters
AddMinor(double)
public void AddMinor(double position)
Parameters
positiondouble
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