ScottPlot
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Properties | List of all members
ScottPlot.TickGenerators.NumericAutomatic Class Reference
Inheritance diagram for ScottPlot.TickGenerators.NumericAutomatic:
ScottPlot.ITickGenerator

Public Member Functions

void Regenerate (CoordinateRange range, Edge edge, PixelLength size, SKPaint paint, LabelStyle labelStyle)
 Generate ticks based on the current settings and store the result in Ticks
 

Public Attributes

DecimalTickSpacingCalculator TickSpacingCalculator = new()
 
int? TargetTickCount = null
 

Properties

Tick[] Ticks = [] [get, set]
 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.
 
int MaxTickCount [get, set]
 Do not generate more than this number of ticks.
 
bool IntegerTicksOnly = false [get, set]
 
Func< double, string > LabelFormatter = LabelFormatters.Numeric [get, set]
 
IMinorTickGenerator MinorTickGenerator = new EvenlySpacedMinorTickGenerator(5) [get, set]
 
float MinimumTickSpacing = 0 [get, set]
 
double TickDensity = 1.0 [get, set]
 
- Properties inherited from ScottPlot.ITickGenerator

Member Function Documentation

◆ Regenerate()

void ScottPlot.TickGenerators.NumericAutomatic.Regenerate ( CoordinateRange  range,
Edge  edge,
PixelLength  size,
SKPaint  paint,
LabelStyle  labelStyle 
)
inline

Generate ticks based on the current settings and store the result in Ticks

Implements ScottPlot.ITickGenerator.

Member Data Documentation

◆ TargetTickCount

int? ScottPlot.TickGenerators.NumericAutomatic.TargetTickCount = null

◆ TickSpacingCalculator

DecimalTickSpacingCalculator ScottPlot.TickGenerators.NumericAutomatic.TickSpacingCalculator = new()

Property Documentation

◆ IntegerTicksOnly

bool ScottPlot.TickGenerators.NumericAutomatic.IntegerTicksOnly = false
getset

◆ LabelFormatter

Func<double, string> ScottPlot.TickGenerators.NumericAutomatic.LabelFormatter = LabelFormatters.Numeric
getset

◆ MaxTickCount

int ScottPlot.TickGenerators.NumericAutomatic.MaxTickCount
getset

Do not generate more than this number of ticks.

Implements ScottPlot.ITickGenerator.

◆ MinimumTickSpacing

float ScottPlot.TickGenerators.NumericAutomatic.MinimumTickSpacing = 0
getset

◆ MinorTickGenerator

IMinorTickGenerator ScottPlot.TickGenerators.NumericAutomatic.MinorTickGenerator = new EvenlySpacedMinorTickGenerator(5)
getset

◆ TickDensity

double ScottPlot.TickGenerators.NumericAutomatic.TickDensity = 1.0
getset

◆ Ticks

Tick [] ScottPlot.TickGenerators.NumericAutomatic.Ticks = []
getset

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.

Implements ScottPlot.ITickGenerator.


The documentation for this class was generated from the following file: