Class DataLabelsPlugin
- java.lang.Object
-
- org.pepstock.charba.client.plugins.AbstractExtensionPlugin<DataLabelsOptions>
-
- org.pepstock.charba.client.datalabels.DataLabelsPlugin
-
public final class DataLabelsPlugin extends AbstractExtensionPlugin<DataLabelsOptions>
Entry point of DATALABELS plugin to enable the plugin.
TheID
plugin is highly customizable CHART.JS plugin that displays labels on data for any type of charts.- Author:
- Andrea "Stock" Stocchero
-
-
Field Summary
Fields Modifier and Type Field Description static DataLabelsOptionsFactory
FACTORY
Data labels options factorystatic String
ID
Plugin ID "datalabels".
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
enable()
Inject the plugin but disables in the all charts waiting for the specific statement for each chart.static void
enable(boolean enableToAllCharts)
Inject the plugin and by the argument decides to enable the plugin to all charts or not.-
Methods inherited from class org.pepstock.charba.client.plugins.AbstractExtensionPlugin
applyingDefaults, getDefaults, isRegistered, loadDefaults
-
-
-
-
Field Detail
-
ID
public static final String ID
Plugin ID "datalabels".
-
FACTORY
public static final DataLabelsOptionsFactory FACTORY
Data labels options factory
-
-
Method Detail
-
enable
public static void enable()
Inject the plugin but disables in the all charts waiting for the specific statement for each chart.
-
enable
public static void enable(boolean enableToAllCharts)
Inject the plugin and by the argument decides to enable the plugin to all charts or not.- Parameters:
enableToAllCharts
- bytrue
the plugin will be enabled to all charts, otherwisefalse
.
-
-