public class FixedFormatTickFormatter extends Object implements AxisTickFormatter
Constructor and Description |
---|
FixedFormatTickFormatter(Format format) |
Modifier and Type | Method and Description |
---|---|
String |
format(Number value)
Given a number on the axis at a tick point, return a label.
|
void |
setRange(double low,
double high,
double tickSpacing)
Sets the range of formatting.
|
public FixedFormatTickFormatter(Format format)
public void setRange(double low, double high, double tickSpacing)
AxisTickFormatter
setRange
in interface AxisTickFormatter
low
- low value of the axishigh
- high value of the axistickSpacing
- distance between each tickpublic String format(Number value)
AxisTickFormatter
format
in interface AxisTickFormatter
Copyright © 2013–2016 Jason Winnebeck. All rights reserved.