public final class NOPTransform extends GJAbstractDataTransform
getInstance methodnf| Modifier and Type | Method and Description |
|---|---|
java.util.ArrayList<java.lang.Double> |
getAxisTickPositions(double start,
double stop,
double inc) |
double |
getData(double val)
Transforms and returns a single value.
|
double[] |
getData(double[] arr)
Transforms and returns an array of values.
|
static NOPTransform |
getInstance()
Retrieves a reference to the instance
|
double |
getInverse(double val)
Returns the inverse transform of the specified value.
|
java.util.ArrayList<java.lang.Double> |
getMinorGridPositions(double start,
double stop,
double inc,
int n) |
java.lang.String |
getName()
The name for this transform as a String
|
java.lang.Object |
getTickLabel(double val)
Returns a String based on the input value which can be used to label the
axes.
|
getInverse, getNumberFormatterpublic static NOPTransform getInstance()
public double getData(double val)
val - the value to transformpublic final double[] getData(double[] arr)
arr - array to transformpublic double getInverse(double val)
public java.lang.String getName()
public java.lang.Object getTickLabel(double val)
public java.util.ArrayList<java.lang.Double> getAxisTickPositions(double start,
double stop,
double inc)
start - typically the left-hand/bottom of the axis rangestop - typically the right-hand/top of the axis rangeinc - distance between major gridspublic java.util.ArrayList<java.lang.Double> getMinorGridPositions(double start,
double stop,
double inc,
int n)
n - number of minor grid positions