public final class HtmlLegend extends AbstractPlugin
Modifier and Type | Field and Description |
---|---|
static HtmlLegendOptionsFactory |
FACTORY
The factory to create options for plugin.
|
static String |
ID
Plugin ID "charbahtmllegend".
|
Modifier and Type | Method and Description |
---|---|
static HtmlLegend |
get()
Returns the singleton instance of plugin.
|
void |
onAfterDraw(IsChart chart)
Called after the 'chart' has been drawn.
Note that this hook will not be called if the drawing has been previously cancelled. |
void |
onBeginDrawing(IsChart chart,
boolean overridePreviousUpdate)
Called before every drawing cycle, coming from initialization, updating or rendering of chart.
|
void |
onConfigure(IsChart chart)
Called before initializing configuration of 'chart'.
|
void |
onDestroy(IsChart chart)
Called after the chart as been destroyed.
|
void |
onEndDrawing(IsChart chart)
Called after every drawing cycle, coming from initialization, updating or rendering of chart.
|
getId, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
onAfterBuildTicks, onAfterDataLimits, onAfterDatasetDraw, onAfterDatasetsDraw, onAfterDatasetsUpdate, onAfterDatasetUpdate, onAfterEvent, onAfterInit, onAfterLayout, onAfterRender, onAfterTooltipDraw, onAfterUpdate, onBeforeBuildTicks, onBeforeDataLimits, onBeforeDatasetDraw, onBeforeDatasetsDraw, onBeforeDatasetsUpdate, onBeforeDatasetUpdate, onBeforeDraw, onBeforeElementsUpdate, onBeforeEvent, onBeforeInit, onBeforeLayout, onBeforeRender, onBeforeTooltipDraw, onBeforeUpdate, onInstall, onReset, onResize, onStart, onStop, onUninstall
public static final String ID
public static final HtmlLegendOptionsFactory FACTORY
public static HtmlLegend get()
public void onConfigure(IsChart chart)
Plugin
chart
- the chart instance.public void onBeginDrawing(IsChart chart, boolean overridePreviousUpdate)
Plugin
chart
- the chart instanceoverridePreviousUpdate
- if true
the drawing was already running.public void onAfterDraw(IsChart chart)
Plugin
chart
- the chart instance.public void onEndDrawing(IsChart chart)
Plugin
chart
- the chart instance