public final class ChartPointer extends AbstractPlugin
| Modifier and Type | Field and Description |
|---|---|
static ChartPointerOptionsFactory |
FACTORY
The factory to create options for plugin.
|
static String |
ID
Plugin ID "cursorpointer".
|
| Constructor and Description |
|---|
ChartPointer() |
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
Plugins must define a unique id in order to be configurable.
Returns the plugin id. |
void |
onAfterEvent(IsChart chart,
ChartNativeEvent event)
Called after the 'event' has been consumed.
|
boolean |
onBeforeUpdate(IsChart chart)
Called before updating 'chart'.
|
onAfterDatasetDraw, onAfterDatasetsDraw, onAfterDatasetsUpdate, onAfterDatasetUpdate, onAfterDraw, onAfterInit, onAfterLayout, onAfterRender, onAfterTooltipDraw, onAfterUpdate, onBeforeDatasetDraw, onBeforeDatasetsDraw, onBeforeDatasetsUpdate, onBeforeDatasetUpdate, onBeforeDraw, onBeforeEvent, onBeforeInit, onBeforeLayout, onBeforeRender, onBeforeTooltipDraw, onConfigure, onDestroy, onResize, toStringpublic static final String ID
public static final ChartPointerOptionsFactory FACTORY
public String getId()
Pluginpublic boolean onBeforeUpdate(IsChart chart)
Pluginfalse, the update is cancelled (and thus subsequent
render(s)) until another 'update' is triggered.onBeforeUpdate in interface PluginonBeforeUpdate in class AbstractPluginchart - the chart instance.false to cancel the chart update.public void onAfterEvent(IsChart chart, ChartNativeEvent event)
PluginonAfterEvent in interface PluginonAfterEvent in class AbstractPluginchart - the chart instance.event - The event object.