Class NumericAutomatic
- Namespace
- ScottPlot.TickGenerators
- Assembly
- ScottPlot.dll
public class NumericAutomatic : ITickGenerator
- Inheritance
-
NumericAutomatic
- Implements
- Inherited Members
- Extension Methods
Fields
TargetTickCount
public int? TargetTickCount
Field Value
- int?
TickSpacingCalculator
public DecimalTickSpacingCalculator TickSpacingCalculator
Field Value
Properties
IntegerTicksOnly
public bool IntegerTicksOnly { get; set; }
Property Value
LabelFormatter
public Func<double, string> LabelFormatter { get; set; }
Property Value
MaxTickCount
Do not generate more than this number of ticks
public int MaxTickCount { get; set; }
Property Value
MinimumTickSpacing
public float MinimumTickSpacing { get; set; }
Property Value
MinorTickGenerator
public IMinorTickGenerator MinorTickGenerator { get; set; }
Property Value
TickDensity
public double TickDensity { 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; set; }
Property Value
- Tick[]
Methods
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