Package org.pepstock.charba.client.items
Class FillBaseline
- java.lang.Object
-
- org.pepstock.charba.client.commons.NativeObjectContainer
-
- org.pepstock.charba.client.items.FillBaseline
-
public final class FillBaseline extends NativeObjectContainer
The object enables the axis value to define the baseline for filling at axis level.- Author:
- Andrea "Stock" Stocchero
-
-
Field Summary
Fields Modifier and Type Field Description static double
DEFAULT_VALUE
Default baseline value, 0.0.
-
Constructor Summary
Constructors Constructor Description FillBaseline()
Creates the item using the default value to set for filling baseline.FillBaseline(double value)
Creates the item using the value to set for filling baseline.FillBaseline(OptionsEnvelop<NativeObject> envelop)
Creates the object with native object instance to be wrapped.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getValue()
Returns the baseline value to use for filling.NativeObject
nativeObject()
Returns the native object instance.void
setValue(double value)
Sets the baseline value to use for filling.-
Methods inherited from class org.pepstock.charba.client.commons.NativeObjectContainer
checkAndGetColor, 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, 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, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
-
-
-
-
Field Detail
-
DEFAULT_VALUE
public static final double DEFAULT_VALUE
Default baseline value, 0.0.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
FillBaseline
public FillBaseline()
Creates the item using the default value to set for filling baseline.
-
FillBaseline
public FillBaseline(double value)
Creates the item using the value to set for filling baseline.- Parameters:
value
- axis value to use for filling baseline.
-
FillBaseline
public FillBaseline(OptionsEnvelop<NativeObject> envelop)
Creates the object with native object instance to be wrapped.- Parameters:
envelop
- envelop with native java script object which contains all properties.
-
-
Method Detail
-
setValue
public void setValue(double value)
Sets the baseline value to use for filling.- Parameters:
value
- the baseline value to use for filling
-
getValue
public double getValue()
Returns the baseline value to use for filling.- Returns:
- the baseline value to use for filling
-
nativeObject
public NativeObject nativeObject()
Returns the native object instance.- Returns:
- the native object instance.
-
-