PrefixTicker.Rule
public static interface BasicTicker.Rule
Modifier and Type | Method | Description |
---|---|---|
long |
floorIndex(double value) |
Returns the largest major tick mark index value that identifies
an axis value less than or equal to a supplied axis value.
|
double[] |
getMinors(long index) |
Returns the axis values for minor tickmarks that fall between the
a given major tick mark and the next one.
|
java.lang.String |
indexToLabel(long index) |
Returns a text string to label the major tick identified by
a given index.
|
double |
indexToValue(long index) |
Returns the axis value identified by a given major tick mark index.
|
long floorIndex(double value)
value
- axis reference valuevalue
double[] getMinors(long index)
index
- major tick mark indexindex
and index+1
double indexToValue(long index)
index
- major tick indexjava.lang.String indexToLabel(long index)
index
- major tick indexCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.