Package | Description |
---|---|
org.pepstock.charba.client.options | |
org.pepstock.charba.client.plugins |
Modifier and Type | Method and Description |
---|---|
com.google.gwt.core.client.JavaScriptObject |
Plugins.getOptions(java.lang.String pluginId)
Returns the plugin options, if exist.
|
boolean |
Plugins.isEnabled(java.lang.String pluginId)
Returns if a global plugin is enabled or not.
|
void |
Plugins.setEnabled(java.lang.String pluginId,
boolean enabled)
Sets if a global plugin must be enabled or not.
|
void |
Plugins.setOptions(java.lang.String pluginId,
com.google.gwt.core.client.JavaScriptObject options)
Sets the plugin options.
|
Modifier and Type | Method and Description |
---|---|
void |
Plugins.add(Plugin plugin)
Adds a new plugin to the chart.
If the chart is already initialized, to get this update teh chart must be drawn again. |
static void |
PluginIdChecker.check(java.lang.String id)
Checks if the plugin is compliant with the constraints of plugin id.
A plugin id can not start with a dot or an underscore can not contain any non-URL-safe characters cannot contain uppercase letters should be something short, but also reasonably descriptive |
static Key |
PluginIdChecker.key(java.lang.String id)
Checks if the plugin is compliant with the constraints of plugin id.
A plugin id can not start with a dot or an underscore can not contain any non-URL-safe characters cannot contain uppercase letters should be something short, but also reasonably descriptive |
boolean |
GlobalPlugins.register(Plugin plugin)
Registers a plugin as global, to apply to all charts.
|
boolean |
GlobalPlugins.unregister(java.lang.String pluginId)
Unregisters a global plugin.
|