Class DefaultChartDatasets
- java.lang.Object
-
- org.pepstock.charba.client.defaults.chart.DefaultChartDatasets
-
- All Implemented Interfaces:
IsDefaultDatasets
public final class DefaultChartDatasets extends Object implements IsDefaultDatasets
CHART.JS default values for DATASETS element.- Author:
- Andrea "Stock" Stocchero
-
-
Constructor Summary
Constructors Constructor Description DefaultChartDatasets(IsDefaultDatasets datasets)
Creates the object by datasets option element instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IsDefaultTypedDataset
get(Type type)
Returns the data sets options by a chart type.
-
-
-
Constructor Detail
-
DefaultChartDatasets
public DefaultChartDatasets(IsDefaultDatasets datasets)
Creates the object by datasets option element instance.- Parameters:
datasets
- datasets option element instance.
-
-
Method Detail
-
get
public IsDefaultTypedDataset get(Type type)
Description copied from interface:IsDefaultDatasets
Returns the data sets options by a chart type.- Specified by:
get
in interfaceIsDefaultDatasets
- Parameters:
type
- chart type.- Returns:
- the data sets options by a chart type
-
-