public final class DataLabelsPlugin extends AbstractExtensionPlugin<DataLabelsOptions>
ID
plugin is highly customizable CHART.JS plugin that displays labels on data for any type of charts.Modifier and Type | Field and Description |
---|---|
static DataLabelsOptionsFactory |
FACTORY
Data labels options factory
|
static String |
ID
Plugin ID "datalabels".
|
Modifier and Type | Method and 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.
|
applyingDefaults, getDefaults, isRegistered, loadDefaults
public static final String ID
public static final DataLabelsOptionsFactory FACTORY
public static void enable()
public static void enable(boolean enableToAllCharts)
enableToAllCharts
- by true
the plugin will be enabled to all charts, otherwise false
.