Package | Description |
---|---|
org.pepstock.charba.client |
Main package with all charts implementation, global classes and common interfaces.
|
org.pepstock.charba.client.impl.plugins |
Contains some plugins implementations, available out-of-the box.
|
org.pepstock.charba.client.items |
Contains all elements generated by CHART.JS, which are mapping java script objects, to use at runtime in plugins, events or controllers.
|
Modifier and Type | Method and Description |
---|---|
default void |
Plugin.onAfterDatasetsUpdate(IsChart chart,
PluginUpdateArgument argument)
Called after the 'chart' datasets have been updated.
Note that this hook will not be called if the datasets update has been previously cancelled. |
default void |
Plugin.onAfterUpdate(IsChart chart,
PluginUpdateArgument argument)
Called after 'chart' has been updated and before rendering.
Note that this hook will not be called if the chart update has been previously cancelled. |
default boolean |
Plugin.onBeforeDatasetsUpdate(IsChart chart,
PluginUpdateArgument argument)
Called before updating the 'chart' datasets.
If any plugin returns false , the datasets update is cancelled until another 'update' is triggered. |
default boolean |
Plugin.onBeforeUpdate(IsChart chart,
PluginUpdateArgument argument)
Called before updating 'chart'.
If any plugin returns false , the update is cancelled (and thus subsequent render(s)) until another 'update' is triggered. |
Modifier and Type | Method and Description |
---|---|
boolean |
ColorSchemes.onBeforeUpdate(IsChart chart,
PluginUpdateArgument argument) |
boolean |
ChartPointer.onBeforeUpdate(IsChart chart,
PluginUpdateArgument argument) |
Modifier and Type | Class and Description |
---|---|
class |
PluginDatasetArgument
This is a wrapper of java script object which represents a dataset.
This object is used in the plugins methods of CHART.JS. |