Class Datasets
- java.lang.Object
-
- org.pepstock.charba.client.configuration.Datasets
-
public class Datasets extends Object
It contains the options to apply to all data sets of the chart.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypedDataset
get()
Returns the data set base on chart type of the configuration options.TypedDataset
get(Type type)
Returns the data set by a chart type.IsChart
getChart()
Returns the chart instanceprotected ExtendedOptions
getConfiguration()
Returns the configuration element.protected ConfigurationOptions
getOptions()
Returns the configuration options.
-
-
-
Method Detail
-
get
public TypedDataset get()
Returns the data set base on chart type of the configuration options.- Returns:
- the data set base on chart type of the configuration options
-
get
public TypedDataset get(Type type)
Returns the data set by a chart type.- Parameters:
type
- chart type.- Returns:
- the data set by a chart type
-
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
-
-