public class ScaleRange extends NativeObjectContainer
ZoomPlugin.ID
configuration in order to set minimum and maximum values of the scales for pan or zoom.Constructor and Description |
---|
ScaleRange()
Creates new scale range element.
|
ScaleRange(double min)
Creates scale range element with the minimum value.
|
ScaleRange(double min,
double max)
Creates scale range element with the minimum and maximum values.
|
Modifier and Type | Method and Description |
---|---|
double |
getMax()
Returns the maximum value of range.
|
double |
getMin()
Returns the minimum value of range.
|
void |
setMax(double max)
Sets the maximum value of range.
|
void |
setMin(double min)
Sets the minimum value of range.
|
checkDefaultValuesArgument, empty, getArrayValue, getElement, getIncrementalId, getNativeChart, getNativeEvent, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, isType, keys, loadNativeObject, remove, remove, setArrayValue, setArrayValue, setArrayValue, setElement, setEmptyValue, setNewIncrementalId, setNewIncrementalId, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
public ScaleRange()
public ScaleRange(double min)
min
- the minimum value of rangepublic ScaleRange(double min, double max)
min
- the minimum value of rangemax
- the maximum value of rangepublic final void setMin(double min)
min
- the minimum value of rangepublic final double getMin()
public final void setMax(double max)
max
- the maximum value of rangepublic final double getMax()