Class LabelsPlugin
- java.lang.Object
-
- org.pepstock.charba.client.labels.LabelsPlugin
-
public final class LabelsPlugin extends Object
Entry point of LABELS plugin with some static utilities to enable it and to get and set options.- Author:
- Andrea "Stock" Stocchero
-
-
Field Summary
Fields Modifier and Type Field Description static LabelsOptionsFactory
FACTORY
Data labels options factorystatic String
ID
Plugin ID "labels".
-
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.
-
-
-
Field Detail
-
ID
public static final String ID
Plugin ID "labels".
-
FACTORY
public static final LabelsOptionsFactory 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
.
-
-