public class Scales extends AbstractItem
chart.defaults.[chart_type].scales
.Modifier and Type | Class and Description |
---|---|
protected static class |
Scales.InternalJavaScriptObject
Is a generic java script object which enables the protected methods.
|
Modifier | Constructor and Description |
---|---|
protected |
Scales(AbstractItem parent,
Key childKey)
Builds the object with parent item and child.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Scale> |
getXAxes() |
java.util.List<Scale> |
getYAxes() |
boolean |
isDisplay()
Returns if the scales are shown.
|
void |
setDisplay(boolean display)
Sets if the scales are shown.
|
checkAndAddToParent, hasProperty
checkAndGetDoubleValues, checkAndGetEnumValues, checkAndGetIntegerValues, checkAndGetStringValues, checkAndSetDoubleValues, checkAndSetEnumValues, checkAndSetIntegerValues, checkAndSetStringValues, getDoubleArray, getIntegerArray, getJavaScriptObject, getObjectArray, getStringArray, getValue, getValue, getValue, getValue, getValue, getValue, getValue, has, has, hasToBeRegistered, isEmpty, keys, remove, remove, removeIfExists, setDoubleArray, setEnumValueArray, setIntegerArray, setObjectArray, setStringArray, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, toString, type
protected Scales(AbstractItem parent, Key childKey)
parent
- parent item.childKey
- key of child.public void setDisplay(boolean display)
display
- if the scales are shown.public boolean isDisplay()
public java.util.List<Scale> getXAxes()
public java.util.List<Scale> getYAxes()