public class IlvLogarithmicStepsDefinition extends IlvStepsDefinition
Note: Setting a logarithmic steps definition on a scale does not change
the axis transformation used for displaying data points. If you want to
change the axis transformation according to the scale labels, use the
method IlvScale.setLogarithmic(double)
.
Constructor and Description |
---|
IlvLogarithmicStepsDefinition()
Creates a new
IlvLogarithmicStepsDefinition . |
Modifier and Type | Method and Description |
---|---|
String |
computeLabel(double value)
Computes the label associated with the specified value.
|
NumberFormat |
getNumberFormat()
Returns the format used to translate step values into labels.
|
boolean |
hasSubStep()
Indicates whether this object defines substeps.
|
double |
incrementStep(double v)
Returns the next step value.
|
double |
incrementSubStep(double v)
Returns the next substep value.
|
double |
previousStep(double v)
Returns the step value immediately before the specified value.
|
double |
previousSubStep(double v)
Returns the substep value immediately before the specified value.
|
void |
setNumberFormat(NumberFormat fmt)
Specifies the format used to translate step values into labels.
|
getLocale, getScale, getULocale, hasNext, localeChanged, nextStep, nextSubStep, update
public IlvLogarithmicStepsDefinition()
IlvLogarithmicStepsDefinition
.public boolean hasSubStep()
true
.hasSubStep
in class IlvStepsDefinition
public double previousStep(double v)
previousStep
in class IlvStepsDefinition
public double incrementStep(double v)
incrementStep
in class IlvStepsDefinition
public double previousSubStep(double v)
previousSubStep
in class IlvStepsDefinition
IlvStepsDefinition.hasSubStep()
public double incrementSubStep(double v)
incrementSubStep
in class IlvStepsDefinition
IlvStepsDefinition.hasSubStep()
public NumberFormat getNumberFormat()
setNumberFormat(java.text.NumberFormat)
public void setNumberFormat(NumberFormat fmt)
Note: setNumberFormat(null)
sets the format to a locale
dependent default format.
getNumberFormat()
public String computeLabel(double value)
setNumberFormat(java.text.NumberFormat)
.computeLabel
in class IlvStepsDefinition
value
- Numeric coordinate value.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.