Package | Description |
---|---|
org.pepstock.charba.client.plugins | |
org.pepstock.charba.client.plugins.impl |
Modifier and Type | Class and Description |
---|---|
class |
AbstractPlugin
Implements a puglin 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 teh chart must be drawn again. |
boolean |
GlobalPlugins.register(Plugin plugin)
Registers a plugin as global, to apply to all charts.
|
Modifier and Type | Class and Description |
---|---|
class |
ChartBackgroundColor
Default plugin implementation to set the background color of chart.
If added to defaults, without any configuration, the chart will have a WHITE background color. |