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 usesCartesianTimeSeriesAxis
for X axis and Linear for Y axis.- 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.CartesianLinearAxis
getLinearAxis()
Returns the axis for values.protected ConfigurationOptions
getOptions()
Returns the configuration options.CartesianTimeSeriesAxis
getTimeAxis()
Returns the axis for time.void
setAxes(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: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
-
-