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 LabelsOptionsFactoryFACTORYData labels options factorystatic StringIDPlugin ID "labels".
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidenable()Inject the plugin but disables in the all charts waiting for the specific statement for each chart.static voidenable(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- bytruethe plugin will be enabled to all charts, otherwisefalse.
-
-