Interface BeforeDatasetUpdateHook
-
public interface BeforeDatasetUpdateHookCalled before updating the 'chart' dataset at the given 'args.index'.
If any plugin returnsfalse, the datasets update is cancelled until another 'update' is triggered.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanonBeforeDatasetUpdate(IsChart chart, PluginDatasetArgument item)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.
-
-
-
Method Detail
-
onBeforeDatasetUpdate
boolean onBeforeDatasetUpdate(IsChart chart, PluginDatasetArgument item)
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.- Parameters:
chart- the chart instance.item- the dataset item.- Returns:
falseto cancel the chart datasets drawing.
-
-