Package org.pepstock.charba.client.plugins.hooks
Contains all hooks interfaces used by
SmartPlugin
in order to activate a custom plugin.- Author:
- Andrea "Stock" Stocchero
-
Interface Summary Interface Description AfterBuildTicksHook Called after scale has build its ticks.
This hook is called separately for each scale in the chart.AfterDataLimitsHook Called after scale data limits are calculated.
This hook is called separately for each scale in the chart.AfterDatasetDrawHook Called after the 'chart' datasets at the given 'args.index' have been drawn (datasets are drawn in the reverse order).
Note that this hook will not be called if the datasets drawing has been previously cancelled.AfterDatasetsDrawHook Called after the 'chart' datasets have been drawn.
Note that this hook will not be called if the datasets drawing has been previously cancelled.AfterDatasetsUpdateHook Called after the 'chart' datasets have been updated.
Note that this hook will not be called if the datasets update has been previously cancelled.AfterDatasetUpdateHook Called after the 'chart' datasets at the given 'args.index' has been updated.
Note that this hook will not be called if the datasets update has been previously cancelled.AfterDestroyHook Called after the chart has been destroyed.AfterDrawHook Called after the 'chart' has been drawn.
Note that this hook will not be called if the drawing has been previously cancelled.AfterEventHook Called after the 'event' has been consumed.
Note that this hook will not be called if the 'event' has been previously discarded.AfterInitHook Called after 'chart' has been initialized and before the first update.AfterLayoutHook Called after the 'chart' has been layed out.
Note that this hook will not be called if the layout update has been previously cancelled.AfterRenderHook Called after the 'chart' has been fully rendered (and animation completed).
Note that this hook will not be called if the rendering has been previously cancelled.AfterTooltipDrawHook Called after drawing the 'tooltip'.
Note that this hook will not be called if the tooltip drawing has been previously cancelled.AfterUpdateHook 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.BeforeBuildTicksHook Called before scale builds its ticks.
This hook is called separately for each scale in the chart.BeforeDataLimitsHook Called before scale data limits are calculated.
This hook is called separately for each scale in the chart.BeforeDatasetDrawHook Called before drawing the 'chart' dataset at the given 'args.index' (datasets are drawn in the reverse order).
If any plugin returnsfalse
, the datasets drawing is cancelled until another 'render' is triggered.BeforeDatasetsDrawHook Called before drawing the 'chart' datasets.BeforeDatasetsUpdateHook Called before updating the 'chart' datasets.
If any plugin returnsfalse
, the datasets update is cancelled until another 'update' is triggered.BeforeDatasetUpdateHook Called before updating the 'chart' dataset at the given 'args.index'.
If any plugin returnsfalse
, the datasets update is cancelled until another 'update' is triggered.BeforeDestroyHook Called before the chart is being destroyed.BeforeDrawHook Called before drawing 'chart' at every animation frame.
If any plugin returnsfalse
, the frame drawing is cancelled until another 'render' is triggered.BeforeElementsUpdateHook Called during the update process, before any chart elements have been created.BeforeEventHook Called before processing the specified 'event'.
If any plugin returnsfalse
, the event will be discarded.BeforeInitHook Called before initializing 'chart'.BeforeLayoutHook Called before laying out 'chart'.
If any plugin returnsfalse
, the layout update is cancelled until another 'update' is triggered.BeforeRenderHook Called before rendering 'chart'.BeforeTooltipDrawHook Called before drawing the 'tooltip'.
If any plugin returnsfalse
, the tooltip drawing is cancelled until another 'render' is triggered.BeforeUpdateHook Called before updating 'chart'.
If any plugin returnsfalse
, the update is cancelled (and thus subsequent render(s)) until another 'update' is triggered.ConfigureHook Called before initializing configuration of 'chart'.InstallHook Called when plugin is installed for this chart instance.
This hook is also invoked for disabled plugins (options equals to false).ResetHook Called during chart reset.ResizeHook Called after the chart as been resized.StartHook Called when a plugin is starting.
This happens when chart is created or plugin is enabled.StopHook Called when a plugin stopping.
This happens when chart is destroyed or plugin is disabled.UninstallHook Called after chart is destroyed on all plugins that were installed for that chart.
This hook is also invoked for disabled plugins (options equals to false).