| Package | Description | 
|---|---|
| org.pepstock.charba.client.annotation | 
 Contains all classes to activate the  
AnnotationPlugin#ID plugin (AKA chartjs-plugin-annotation.js ) for CHART.js. | 
| org.pepstock.charba.client.configuration | 
 Contains all elements to configure a chart instance (know as chart options at instance level). 
 | 
| org.pepstock.charba.client.data | 
 Contains all elements to configure the datasets of a chart instance (know as chart data at instance level). 
 | 
| org.pepstock.charba.client.datalabels | 
 Contains all classes to activate the  
DataLabelsPlugin.ID plugin (AKA chartjs-plugin-datalabels.js ) for CHART.js. | 
| org.pepstock.charba.client.defaults | 
 Contains all interfaces need to provide defaults values of the chart options. 
 | 
| org.pepstock.charba.client.defaults.chart | 
 Contains the default values of chart options based on type of chart instance. 
 | 
| org.pepstock.charba.client.defaults.globals | 
 Contains the default values of chart options for all chart types (CHART.JS options defaults). 
 | 
| org.pepstock.charba.client.impl.plugins | 
 Contains some plugins implementations, available out-of-the box. 
 | 
| org.pepstock.charba.client.labels | 
 Contains all classes to use  
LabelsPlugin.ID plugin (AKA chartjs-plugin-labels.js) available for CHART.JS | 
| org.pepstock.charba.client.options | 
 Contains all elements to configure charts at global level (know as chart global options). 
 | 
| org.pepstock.charba.client.plugins | 
 Contains all classes to manage the plugin implementations. 
 | 
| org.pepstock.charba.client.zoom | 
 Contains all classes to activate the  
ZoomPlugin.ID plugin (AKA chartjs-plugin-zoom.js ) for CHART.js. | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
AnnotationOptions
This is the  
AnnotationPlugin.ID plugin options where to set all configuration items needed to the plugin. | 
| Modifier and Type | Method and Description | 
|---|---|
<T extends AbstractPluginOptions> | 
Plugins.getOptions(AbstractPluginOptionsFactory<T> factory)
Returns the plugin options, if exist. 
It uses a factory instance to create a plugin options. If factory argument is not consistent, null is returned. | 
<T extends AbstractPluginOptions> | 
Plugins.getOptions(String pluginId,
          AbstractPluginOptionsFactory<T> factory)
Returns the plugin options, if exist. 
It uses a factory instance to create a plugin options.  | 
<T extends AbstractPluginOptions> | 
Plugins.setOptions(String pluginId,
          T options)
Sets the plugin options. 
If passed options is null, the configuration of plugin will be removed.  | 
<T extends AbstractPluginOptions> | 
Plugins.setOptions(T options)
Sets the plugin options. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
<T extends AbstractPluginOptions> | 
Dataset.getOptions(AbstractPluginOptionsFactory<T> factory)
Returns the plugin options, if exist. 
It uses a factory instance to create a plugin options. If factory argument is not consistent, null is returned. | 
<T extends AbstractPluginOptions> | 
Dataset.getOptions(String pluginId,
          AbstractPluginOptionsFactory<T> factory)
Returns the plugin data set configuration, if exist. 
It uses a factory instance to create a plugin options.  | 
<T extends AbstractPluginOptions> | 
Dataset.setOptions(String pluginId,
          T options)
Sets the plugin data set configuration. 
If data set configuration options is null, the configuration of plugin will be removed. | 
<T extends AbstractPluginOptions> | 
Dataset.setOptions(T options)
Sets the plugin options. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
DataLabelsOptions
This is the  
DataLabelsPlugin.ID plugin options where to set all the configuration needed to the plugin.The options could be set by simply the value or by setting a callback. The DataLabelsPlugin.ID plugin is highly customizable CHART.JS plugin that displays labels on data for any type of charts. | 
class  | 
LabelItem
This is the base for  
DataLabelsPlugin.ID plugin options where to set all the configuration needed to the a label.The options could be set by simply the value or by setting a callback.  | 
| Modifier and Type | Method and Description | 
|---|---|
<T extends AbstractPluginOptions> | 
IsDefaultPlugins.getOptions(String pluginId,
          AbstractPluginOptionsFactory<T> factory)
Returns the plugin options, if exist. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
<T extends AbstractPluginOptions> | 
DefaultChartPlugins.getOptions(String pluginId,
          AbstractPluginOptionsFactory<T> factory)  | 
| Modifier and Type | Method and Description | 
|---|---|
<T extends AbstractPluginOptions> | 
DefaultPlugins.getOptions(String pluginId,
          AbstractPluginOptionsFactory<T> factory)  | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
ChartBackgroundColorOptions
Configuration options of  
ChartBackgroundColor.ID plugin. | 
class  | 
ChartPointerOptions
Configuration options of  
ChartPointer.ID plugin.It manages the cursor to adopt when the cursor is over the dataset item and when not.  | 
class  | 
ColorSchemesOptions
This is the object to map the  
ColorSchemes.ID plugin options, both at chart and global level. | 
class  | 
DatasetsItemsSelectorOptions
Configuration options of  
DatasetsItemsSelector.ID plugin.It is managing: the X axis ID the selection color the border color the border width the border dash the border dash offset "clear" options  | 
class  | 
HtmlLegendOptions
Configuration options of  
HtmlLegend.ID plugin.This is mapping the configuration both default global and per chart instance.  | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
LabelsOptions
This is the object to map the  
LabelsPlugin.ID plugin options, both at chart and global level. | 
| Modifier and Type | Method and Description | 
|---|---|
<T extends AbstractPluginOptions> | 
Plugins.getOptions(AbstractPluginOptionsFactory<T> factory)
Returns the plugin options, if exist. 
It uses a factory instance to create a plugin options. If factory argument is not consistent, null is returned. | 
<T extends AbstractPluginOptions> | 
Plugins.getOptions(String pluginId,
          AbstractPluginOptionsFactory<T> factory)
Returns the plugin options, if exist. 
It uses a factory instance to create a plugin options. If factory argument is not consistent, null is returned. | 
<T extends AbstractPluginOptions> | 
Plugins.setOptions(String pluginId,
          T options)
Sets the plugin options. 
If passed options is null, the configuration of plugin will be removed. | 
<T extends AbstractPluginOptions> | 
Plugins.setOptions(T options)
Sets the plugin options. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
AbstractExtensionPlugin<T extends AbstractPluginOptions>
Commons methods of extension, plugins out-of-the-box written in java script, to import and manage by Charba. 
 | 
class  | 
AbstractPluginOptionsFactory<T extends AbstractPluginOptions>
Factory to get the plugin options (form chart, from datasets or from default global ones) related to the plugin. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected <G extends AbstractPluginOptions> | 
AbstractPluginOptionsFactory.loadDefaultsPluginOptions(IsDefaultPlugins defaultsPlugins,
                         AbstractPluginOptionsFactory<G> factory)
Loads the default plugin options from defaults. 
If factory, passed as argument, is null, returns null. | 
protected <T extends AbstractPluginOptions> | 
AbstractPluginOptions.loadGlobalsPluginOptions(AbstractPluginOptionsFactory<T> factory)
Loads the default plugin options from defaults. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
ZoomOptions
This is the  
ZoomPlugin.ID plugin options where to set all the configuration needed to the plugin. |