Interface BeforeDatasetDrawHook
-
public interface 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.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.
-
-
-
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:
false
to cancel the chart datasets drawing.
-
-