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 IsChartgetChart()Returns the chart instanceprotected ExtendedOptionsgetConfiguration()Returns the configuration element.protected ConfigurationOptionsgetOptions()Returns the configuration options.booleanisOnlyYAxis()Returnstrueif there is only a Y axis, otherwisefalse.voidsetAxes(Axis... axes)Sets an array of X axes.voidsetOnlyYAxis(boolean isOnlyYAxis)Setstrueif 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()
Returnstrueif there is only a Y axis, otherwisefalse.- Returns:
trueif there is only a Y axis, otherwisefalse
-
setOnlyYAxis
public void setOnlyYAxis(boolean isOnlyYAxis)
Setstrueif there is only a Y axis, otherwisefalse.- Parameters:
isOnlyYAxis-trueif there is only a Y axis, otherwisefalse
-
setAxes
public void setAxes(Axis... axes)
Description copied from class:ScalesSets 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
-
-