Package org.pepstock.charba.client.items
Class ScaleLabelBackdropOptions
- java.lang.Object
-
- org.pepstock.charba.client.commons.NativeObjectContainer
-
- org.pepstock.charba.client.items.ScaleLabelBackdropOptions
-
public final class ScaleLabelBackdropOptions extends NativeObjectContainer
The label options maps the labels backdrop options computed byScaleItem
.
This is a wrapper of the CHART.JS item with all needed info.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IsColor
getColor()
Returns the color of the label of the scale.String
getColorAsString()
Returns the color of the label of the scale.double
getHeight()
Returns the height in pixel.double
getLeft()
Returns the left of chart area.double
getTop()
Returns the top of chart area.double
getWidth()
Returns the width in pixel.-
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, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
-
-
-
-
Method Detail
-
getTop
public double getTop()
Returns the top of chart area.- Returns:
- the top of chart area.
-
getLeft
public double getLeft()
Returns the left of chart area.- Returns:
- the left of chart area.
-
getWidth
public double getWidth()
Returns the width in pixel.- Returns:
- the width in pixel.
-
getHeight
public double getHeight()
Returns the height in pixel.- Returns:
- the height in pixel.
-
getColorAsString
public String getColorAsString()
Returns the color of the label of the scale.- Returns:
- the color of the label of the scale
-
getColor
public IsColor getColor()
Returns the color of the label of the scale.- Returns:
- the color of the label of the scale
-
-