|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface BasicTicker.Rule
Defines a specific rule for generating major and minor axis tick marks. The major tick marks defined by this rule are labelled by a contiguous sequence of long integer indices, which increase in the direction of axis value increase.
Method Summary | |
---|---|
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. |
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. |
Method Detail |
---|
long floorIndex(double value)
value
- axis reference value
value
double[] getMinors(long index)
index
- major tick mark index
index
and index+1
double indexToValue(long index)
index
- major tick index
String indexToLabel(long index)
index
- major tick index
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |