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.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 |
AbstractAnnotation
Base class to define an annotation into
AnnotationPlugin.ID plugin.It contains all commons properties to define an annotation ( BoxAnnotation or LineAnnotation . |
class |
AnnotationOptions
This is the
AnnotationPlugin.ID plugin options where to set all configuration items needed to the plugin. |
class |
BoxAnnotation
Implements a BOX annotation which draws a box into a chart.
If one of the axes is not specified, the box will take the entire chart dimension. The 4 coordinates, xMin, xMax, yMin, yMax are optional. |
class |
LineAnnotation
Implements a LINE annotation which draws a line into a chart.
Vertical or horizontal lines are supported. |
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.getOptionsAsList(AbstractPluginOptionsFactory<T> factory)
Returns the plugin options as list, if exist.
It uses a factory instance to create a plugin options. |
<T extends AbstractPluginOptions> |
Plugins.getOptionsAsList(String pluginId,
AbstractPluginOptionsFactory<T> factory)
Returns the plugin options as list, if exist.
It uses a factory instance to create a plugin options. |
<T extends AbstractPluginOptions> |
Plugins.setOptions(List<T> options)
Sets the plugin options as list.
If the list is empty, it does nothing |
<T extends AbstractPluginOptions> |
Plugins.setOptions(String pluginId,
List<T> options)
Sets the plugin options as list.
If passed options is null, the configuration of plugin will be removed. |
<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 dataset 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 dataset configuration.
If dataset 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. |
Modifier and Type | Method and Description |
---|---|
<T extends AbstractPluginOptions> |
IsDefaultPlugins.getOptions(String pluginId,
AbstractPluginOptionsFactory<T> factory)
Returns the plugin options, if exist.
|
<T extends AbstractPluginOptions> |
IsDefaultPlugins.getOptionsAsList(String pluginId,
AbstractPluginOptionsFactory<T> factory)
Returns the plugin options as list of object containers, if exist.
|
Modifier and Type | Method and Description |
---|---|
<T extends AbstractPluginOptions> |
DefaultPlugins.getOptions(String pluginId,
AbstractPluginOptionsFactory<T> factory) |
<T extends AbstractPluginOptions> |
DefaultPlugins.getOptionsAsList(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 if firing event on clear selection |
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.getOptionsAsList(AbstractPluginOptionsFactory<T> factory)
Returns the plugin options as list, if exist.
It uses a factory instance to create a plugin options. |
<T extends AbstractPluginOptions> |
Plugins.getOptionsAsList(String pluginId,
AbstractPluginOptionsFactory<T> factory)
Returns the plugin options as list, if exist.
It uses a factory instance to create a plugin options. |
<T extends AbstractPluginOptions> |
Plugins.setOptions(List<T> options)
Sets the plugin options as list.
If the list is empty, it does nothing |
<T extends AbstractPluginOptions> |
Plugins.setOptions(String pluginId,
List<T> options)
Sets the plugin options as list.
If passed options is null , the configuration of plugin will be removed. |
<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 |
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 | Class and Description |
---|---|
class |
AbstractPluginCachedOptions
Abstract plugin options where to set all the configuration needed to the plugin.
|
Modifier and Type | Method and Description |
---|---|
protected <T extends AbstractPluginOptions> |
AbstractPluginOptions.loadGlobalsPluginOptions(AbstractPluginOptionsFactory<T> factory)
Loads the default plugin options from defaults.
|
protected <G extends AbstractPluginOptions> |
AbstractPluginOptionsFactory.loadGlobalsPluginOptions(IsDefaultPlugins defaultsPlugins,
AbstractPluginOptionsFactory<G> factory)
Loads the default plugin options from defaults.
If factory, passed as argument, is null , returns null . |
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. |