Interface BeforeDatasetDrawHook
-
public interface BeforeDatasetDrawHookCalled 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.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanonBeforeDatasetDraw(IsChart chart, PluginDatasetArgument item)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.
-
-
-
Method Detail
-
onBeforeDatasetDraw
boolean onBeforeDatasetDraw(IsChart chart, PluginDatasetArgument item)
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.- Parameters:
chart- the chart instance.item- the dataset item.- Returns:
falseto cancel the chart datasets drawing.
-
-