Class StackedScales
- java.lang.Object
-
- org.pepstock.charba.client.configuration.Scales
-
- org.pepstock.charba.client.configuration.StackedScales
-
public class StackedScales extends Scales
Specific scales for stacked charts.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IsChart
getChart()
Returns the chart instanceprotected ExtendedOptions
getConfiguration()
Returns the configuration element.protected ConfigurationOptions
getOptions()
Returns the configuration options.boolean
isOnlyYAxis()
Returnstrue
if there is only a Y axis, otherwisefalse
.void
setAxes(Axis... axes)
Sets an array of X axes.void
setOnlyYAxis(boolean isOnlyYAxis)
Setstrue
if there is only a Y axis, otherwisefalse
.-
Methods inherited from class org.pepstock.charba.client.configuration.Scales
getAxes, getAxisById, getAxisById
-
-
-
-
Method Detail
-
isOnlyYAxis
public boolean isOnlyYAxis()
Returnstrue
if there is only a Y axis, otherwisefalse
.- Returns:
true
if there is only a Y axis, otherwisefalse
-
setOnlyYAxis
public void setOnlyYAxis(boolean isOnlyYAxis)
Setstrue
if there is only a Y axis, otherwisefalse
.- Parameters:
isOnlyYAxis
-true
if there is only a Y axis, otherwisefalse
-
setAxes
public void setAxes(Axis... axes)
Description copied from class:Scales
Sets an array of X axes.
-
getOptions
protected final ConfigurationOptions getOptions()
Returns the configuration options.- Returns:
- the configuration options.
-
getConfiguration
protected final ExtendedOptions getConfiguration()
Returns the configuration element.- Returns:
- the configuration element.
-
getChart
public final IsChart getChart()
Returns the chart instance- Returns:
- the chart
-
-