public class Scales extends Object
Modifier and Type | Method and Description |
---|---|
IsChart |
getChart()
Returns the chart instance
|
protected T |
getConfiguration()
Returns the configuration element.
|
List<Axis> |
getXAxes()
Returns the list of X axes.
|
List<Axis> |
getYAxes()
Returns the list of Y axes.
|
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 |
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 void setXAxes(Axis... axes)
axes
- an array of axes.public List<Axis> getXAxes()
public void setYAxes(Axis... axes)
axes
- an array of axes.public List<Axis> getYAxes()
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()