public class StackedScales extends Scales
Modifier and Type | Method and Description |
---|---|
IsChart |
getChart()
Returns the chart instance
|
protected T |
getConfiguration()
Returns the configuration element.
|
boolean |
isOnlyYAxis()
Returns
true if there is only a Y axis, otherwise false . |
void |
merge(NativeObjectContainer source,
String property)
Merge a native object into this one with a specific property name.
This is used by plugins implementation (native java script ones) when they are not using the standard way to add plugin configuration into options of chart. |
protected void |
setConfiguration(T configuration) |
void |
setOnlyYAxis(boolean isOnlyYAxis)
Sets
true if there is only a Y axis, otherwise false . |
void |
setXAxes(Axis... axes)
Sets an array of X axes.
|
void |
setYAxes(Axis... axes)
Sets an array of Y axes.
|
String |
toJSON()
Returns the JSON representation of the object.
|
public boolean isOnlyYAxis()
true
if there is only a Y axis, otherwise false
.true
if there is only a Y axis, otherwise false
public void setOnlyYAxis(boolean isOnlyYAxis)
true
if there is only a Y axis, otherwise false
.isOnlyYAxis
- true
if there is only a Y axis, otherwise false
public void setXAxes(Axis... axes)
Scales
public void setYAxes(Axis... axes)
Scales
protected final void setConfiguration(T configuration)
configuration
- the configuration to setprotected final T getConfiguration()
public final void merge(NativeObjectContainer source, String property)
source
- native object container to addproperty
- property namepublic final String toJSON()
public final IsChart getChart()