void |
SmartPlugin.setAfterBuildTicksHook(NativeHook nativeAfterBuildTicksHook) |
Sets the user native hook for 'afterBuildTicks' plugin.
Called after scale has build its ticks.
This hook is called separately for each scale in the chart.
|
void |
SmartPlugin.setAfterDataLimitsHook(NativeHook nativeAfterDataLimitsHook) |
Sets the user native hook for 'afterDataLimits' plugin.
Called after scale data limits are calculated.
This hook is called separately for each scale in the chart.
|
void |
SmartPlugin.setAfterDatasetDrawHook(NativeHook nativeAfterDatasetDrawHook) |
Sets the user native hook for 'afterDatasetDraw' plugin.
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.
|
void |
SmartPlugin.setAfterDatasetsDrawHook(NativeHook nativeAfterDatasetsDrawHook) |
Sets the user native hook for 'afterDatasetsDraw' plugin.
Called after the 'chart' datasets have been drawn.
Note that this hook will not be called if the datasets drawing has been previously cancelled.
|
void |
SmartPlugin.setAfterDatasetsUpdateHook(NativeHook nativeAfterDatasetsUpdateHook) |
Sets the user native hook for 'afterDatasetsUpdate' plugin.
Called after the 'chart' datasets have been updated.
Note that this hook will not be called if the datasets update has been previously cancelled.
|
void |
SmartPlugin.setAfterDatasetUpdateHook(NativeHook nativeAfterDatasetUpdateHook) |
Sets the user native hook for 'afterDatasetUpdate' plugin.
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.
|
void |
SmartPlugin.setAfterDestroyHook(NativeHook nativeAfterDestroyHook) |
Sets the user native hook for 'afterDestroy' plugin.
Called after the chart has been destroyed.
|
void |
SmartPlugin.setAfterDrawHook(NativeHook nativeAfterDrawHook) |
Sets the user native hook for 'afterDraw' plugin.
Called after the 'chart' has been drawn.
Note that this hook will not be called if the drawing has been previously cancelled.
|
void |
SmartPlugin.setAfterEventHook(NativeHook nativeAfterEventHook) |
Sets the user native hook for 'afterEvent' plugin.
Called after the 'event' has been consumed.
Note that this hook will not be called if the 'event' has been previously discarded.
|
void |
SmartPlugin.setAfterInitHook(NativeHook nativeAfterInitHook) |
Sets the user native hook for 'afterInit' plugin.
Called after 'chart' has been initialized and before the first update.
|
void |
SmartPlugin.setAfterLayoutHook(NativeHook nativeAfterLayoutHook) |
Sets the user native hook for 'afterLayout' plugin.
Called after the 'chart' has been layed out.
Note that this hook will not be called if the layout update has been previously cancelled.
|
void |
SmartPlugin.setAfterRenderHook(NativeHook nativeAfterRenderHook) |
Sets the user native hook for 'afterRender' plugin.
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.
|
void |
SmartPlugin.setAfterTooltipDrawHook(NativeHook nativeAfterTooltipDrawHook) |
Sets the user native hook for 'afterTooltipDraw' plugin.
Called after drawing the 'tooltip'.
Note that this hook will not be called if the tooltip drawing has been previously cancelled.
|
void |
SmartPlugin.setAfterUpdateHook(NativeHook nativeAfterUpdateHook) |
Sets the user native hook for 'afterUpdate' plugin.
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.
|
void |
SmartPlugin.setBeforeBuildTicksHook(NativeHook nativeBeforeBuildTicksHook) |
Sets the user native hook for 'beforeBuildTicks' plugin.
Called before scale builds its ticks.
This hook is called separately for each scale in the chart.
|
void |
SmartPlugin.setBeforeDataLimitsHook(NativeHook nativeBeforeDataLimitsHook) |
Sets the user native hook for 'beforeDataLimits' plugin.
Called before scale data limits are calculated.
This hook is called separately for each scale in the chart.
|
void |
SmartPlugin.setBeforeDatasetDrawHook(NativeHook nativeBeforeDatasetDrawHook) |
Sets the user native hook for 'beforeDatasetDraw' plugin.
Called before drawing the 'chart' dataset at the given 'args.index' (datasets are drawn in the reverse order).
If any plugin returns false , the datasets drawing is cancelled until another 'render' is triggered.
|
void |
SmartPlugin.setBeforeDatasetsDrawHook(NativeHook nativeBeforeDatasetsDrawHook) |
Sets the user native hook for 'beforeDatasetsDraw' plugin.
Called before drawing the 'chart' datasets.
|
void |
SmartPlugin.setBeforeDatasetsUpdateHook(NativeHook nativeBeforeDatasetsUpdateHook) |
Sets the user native hook for 'beforeDatasetsUpdate' plugin.
Called before updating the 'chart' datasets.
If any plugin returns false , the datasets update is cancelled until another 'update' is triggered.
|
void |
SmartPlugin.setBeforeDatasetUpdateHook(NativeHook nativeBeforeDatasetUpdateHook) |
Sets the user native hook for 'beforeDatasetUpdate' plugin.
Called before updating the 'chart' dataset at the given 'args.index'.
If any plugin returns false , the datasets update is cancelled until another 'update' is triggered.
|
void |
SmartPlugin.setBeforeDestroyHook(NativeHook nativeBeforeDestroyHook) |
Sets the user native hook for 'beforeDestroy' plugin.
Called before the chart is being destroyed.
|
void |
SmartPlugin.setBeforeDrawHook(NativeHook nativeBeforeDrawHook) |
Sets the user native hook for 'beforeDraw' plugin.
Called before drawing 'chart' at every animation frame.
If any plugin returns false , the frame drawing is cancelled until another 'render' is triggered.
|
void |
SmartPlugin.setBeforeElementsUpdateHook(NativeHook nativeBeforeElementsUpdateHook) |
Sets the user native hook for 'beforeElementsUpdate' plugin.
Called during the update process, before any chart elements have been created.
|
void |
SmartPlugin.setBeforeEventHook(NativeHook nativeBeforeEventHook) |
Sets the user native hook for 'beforeEvent' plugin.
Called before processing the specified 'event'.
If any plugin returns false , the event will be discarded.
|
void |
SmartPlugin.setBeforeInitHook(NativeHook nativeBeforeInitHook) |
Sets the user native hook for 'beforeInit' plugin.
Called before initializing 'chart'.
|
void |
SmartPlugin.setBeforeLayoutHook(NativeHook nativeBeforeLayoutHook) |
Sets the user native hook for 'beforeLayout' plugin.
Called before laying out 'chart'.
If any plugin returns false , the layout update is cancelled until another 'update' is triggered.
|
void |
SmartPlugin.setBeforeRenderHook(NativeHook nativeBeforeRenderHook) |
Sets the user native hook for 'beforeRender' plugin.
Called before rendering 'chart'.
|
void |
SmartPlugin.setBeforeTooltipDrawHook(NativeHook nativeBeforeTooltipDrawHook) |
Sets the user native hook for 'beforeTooltipDraw' plugin.
Called before drawing the 'tooltip'.
If any plugin returns false , the tooltip drawing is cancelled until another 'render' is triggered.
|
void |
SmartPlugin.setBeforeUpdateHook(NativeHook nativeBeforeUpdateHook) |
Sets the user native hook for 'beforeUpdate' plugin.
Called before updating 'chart'.
If any plugin returns false , the update is cancelled (and thus subsequent render(s)) until another 'update' is triggered.
|
void |
SmartPlugin.setInstallHook(NativeHook nativeInstallHook) |
Sets the user native hook for 'install' plugin.
Called when plugin is installed for this chart instance.
This hook is also invoked for disabled plugins (options equals to false).
|
void |
SmartPlugin.setResetHook(NativeHook nativeResetHook) |
Sets the user native hook for 'reset' plugin.
Called during chart reset.
|
void |
SmartPlugin.setResizeHook(NativeHook nativeResizeHook) |
Sets the user native hook for 'resize' plugin.
Called after the chart as been resized.
|
void |
SmartPlugin.setStartHook(NativeHook nativeStartHook) |
Sets the user native hook for 'start' plugin.
Called when a plugin is starting.
This happens when chart is created or plugin is enabled.
|
void |
SmartPlugin.setStopHook(NativeHook nativeStopHook) |
Sets the user native hook for 'stop' plugin.
Called when a plugin stopping.
This happens when chart is destroyed or plugin is disabled.
|
void |
SmartPlugin.setUninstallHook(NativeHook nativeUninstallHook) |
Sets the user native hook for 'uninstall' plugin.
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).
|