public class StackedScales extends Scales
| Modifier and Type | Method and Description |
|---|---|
AbstractChart<?,?> |
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. |
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 falsepublic void setOnlyYAxis(boolean isOnlyYAxis)
true if there is only a Y axis, otherwise false.isOnlyYAxis - true if there is only a Y axis, otherwise falsepublic void setXAxes(Axis... axes)
Scalespublic void setYAxes(Axis... axes)
Scalesprotected final void setConfiguration(T configuration)
configuration - the configuration to setprotected final T getConfiguration()
public final String toJSON()
public final AbstractChart<?,?> getChart()