Table of Contents

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

DecimalTickSpacingCalculator

Properties

IntegerTicksOnly

public bool IntegerTicksOnly { get; set; }

Property Value

bool

LabelFormatter

public Func<double, string> LabelFormatter { get; set; }

Property Value

Func<double, string>

MaxTickCount

Do not generate more than this number of ticks

public int MaxTickCount { get; set; }

Property Value

int

MinimumTickSpacing

public float MinimumTickSpacing { get; set; }

Property Value

float

MinorTickGenerator

public IMinorTickGenerator MinorTickGenerator { get; set; }

Property Value

IMinorTickGenerator

TickDensity

public double TickDensity { get; set; }

Property Value

double

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 CoordinateRange
edge Edge
size PixelLength
paint SKPaint
labelStyle LabelStyle