Package | Description |
---|---|
org.pepstock.charba.client.impl.plugins |
Contains some plugins implementations, available out-of-the box.
|
org.pepstock.charba.client.plugins |
Contains all classes to manage the plugin implementations.
|
Modifier and Type | Class and Description |
---|---|
class |
ChartBackgroundColor
Default plugin implementation to set the background color, gradient or pattern of chart.
If added to defaults, without any configuration, the chart will have a DEFAULT_BACKGROUND_COLOR background color. |
class |
ChartPointer
This plugin is changing the cursor when mouse over on dataset, title on canvas if a dataset selection, title handler have
been defined.
|
class |
ColorSchemes
Default plugin implementation to use color schemes instead the single colors for border and background colors of chart.
It enables to pick the color combination for charts from the predefined or custom color schemes. |
class |
DatasetsItemsSelector
Enables the datasets items selection directly into the canvas.
It works only for line and bar chart instances. It will add mouser listeners to canvas. Tooltips will be disable to avoid events conflicts. Overrides also the events which can be caught (only click and touchstart). It activates also the legend click handler to avoid that all datasets will be hidden. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractPlugin
Implements a plugin interface to help who will create a plugin do not create all methods.
The only method not implemented is getId which must implemented.All onBefore* cancellable methods return true . |
Modifier and Type | Method and Description |
---|---|
void |
Plugins.add(Plugin plugin)
Adds a new plugin to the chart.
If the chart is already initialized, to get this update the chart must be drawn again. |
boolean |
GlobalPlugins.register(Plugin plugin)
Registers a plugin as global, to apply to all charts.
|