public final class ChartBackgroundColorOptions extends NativeObjectContainer
ChartBackgroundColor.ID
plugin.Constructor and Description |
---|
ChartBackgroundColorOptions()
Builds the object with new java script object setting the default value of plugin.
|
Modifier and Type | Method and Description |
---|---|
IsColor |
getBackgroundColor()
Returns the background color.
|
Gradient |
getBackgroundColorAsGradient()
Returns the background gradient.
|
Pattern |
getBackgroundColorAsPattern()
Returns the background pattern.
|
String |
getBackgroundColorAsString()
Returns the background color.
|
void |
setBackgroundColor(Gradient gradient)
Sets the background gradient.
|
void |
setBackgroundColor(IsColor color)
Sets the background color.
|
void |
setBackgroundColor(Pattern pattern)
Sets the background pattern.
|
void |
setBackgroundColor(String color)
Sets the background color.
|
checkValue, getArrayValue, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, keys, remove, remove, removeIfExists, setArrayValue, setArrayValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
public ChartBackgroundColorOptions()
public String getBackgroundColorAsString()
null
, otherwise the default
color, "white".null
, otherwise the default
color, "white".public IsColor getBackgroundColor()
null
, otherwise the default
color, "white".null
, otherwise the default
color, "white".public Gradient getBackgroundColorAsGradient()
null
.null
public Pattern getBackgroundColorAsPattern()
null
.null
public void setBackgroundColor(String color)
color
- the background color.public void setBackgroundColor(IsColor color)
color
- the background color.public void setBackgroundColor(Gradient gradient)
gradient
- the background gradient.public void setBackgroundColor(Pattern pattern)
pattern
- the background pattern.