Class GradientPlugin
- java.lang.Object
-
- org.pepstock.charba.client.plugins.AbstractExtensionPlugin<GradientOptions>
-
- org.pepstock.charba.client.gradient.GradientPlugin
-
public final class GradientPlugin extends AbstractExtensionPlugin<GradientOptions>
Entry point of GRADIENT plugin to enable the plugin.
The GRADIENT plugin enables an easy way to set gradients to the datasets.
The supported axes are the types listed inChartAxisType
.- Author:
- Andrea "Stock" Stocchero
-
-
Field Summary
Fields Modifier and Type Field Description static GradientOptionsFactory
FACTORY
Gradient options factorystatic String
ID
Plugin ID "gradient".
-
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 "gradient".
-
FACTORY
public static final GradientOptionsFactory FACTORY
Gradient 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
.
-
-