Table of Contents

Class NumericFixedInterval

Namespace
ScottPlot.TickGenerators
Assembly
ScottPlot.dll
public class NumericFixedInterval : ITickGenerator
Inheritance
NumericFixedInterval
Implements
Inherited Members
Extension Methods

Constructors

NumericFixedInterval(double)

public NumericFixedInterval(double interval = 1)

Parameters

interval double

Properties

Interval

public double Interval { get; set; }

Property Value

double

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

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