Class ColorSchemes
- java.lang.Object
-
- org.pepstock.charba.client.impl.plugins.ColorSchemes
-
- All Implemented Interfaces:
PluginContainer
public final class ColorSchemes extends Object
Default plugin implementation to use color schemes instead the single colors for border and background colors of chart.
It enables to pick the color combination for charts from the predefined or custom color schemes.- Author:
- Andrea "Stock" Stocchero
-
-
Field Summary
Fields Modifier and Type Field Description static ColorSchemesOptionsFactory
FACTORY
Data labels options factorystatic String
ID
Plugin ID "charbacolorschemes".
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ColorSchemes
get()
Returns the singleton instance of plugin.void
loadPlugin(PluginsEnvelop<Plugin> envelop)
Loads the plugin to the envelop in order to pass it without exposing the methods.
-
-
-
Field Detail
-
ID
public static final String ID
Plugin ID "charbacolorschemes".- See Also:
- Constant Field Values
-
FACTORY
public static final ColorSchemesOptionsFactory FACTORY
Data labels options factory
-
-
Method Detail
-
get
public static ColorSchemes get()
Returns the singleton instance of plugin.- Returns:
- the singleton instance of plugin
-
loadPlugin
public final void loadPlugin(PluginsEnvelop<Plugin> envelop)
Description copied from interface:PluginContainer
Loads the plugin to the envelop in order to pass it without exposing the methods.- Specified by:
loadPlugin
in interfacePluginContainer
- Parameters:
envelop
- envelop where the plugin instance must be stored.
-
-