Class TimeSeriesScales
- java.lang.Object
-
- org.pepstock.charba.client.configuration.Scales
-
- org.pepstock.charba.client.configuration.TimeSeriesScales
-
public final class TimeSeriesScales extends Scales
Specific scales for time series charts.
It usesCartesianTimeSeriesAxisfor X axis and Linear for Y axis.- 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.CartesianLinearAxisgetLinearAxis()Returns the axis for values.protected ConfigurationOptionsgetOptions()Returns the configuration options.CartesianTimeSeriesAxisgetTimeAxis()Returns the axis for time.voidsetAxes(Axis... axes)Sets an array of X axes.-
Methods inherited from class org.pepstock.charba.client.configuration.Scales
getAxes, getAxisById, getAxisById
-
-
-
-
Method Detail
-
getTimeAxis
public CartesianTimeSeriesAxis getTimeAxis()
Returns the axis for time.- Returns:
- the axis for time
-
getLinearAxis
public CartesianLinearAxis getLinearAxis()
Returns the axis for values.- Returns:
- the axis for values
-
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
-
-