Uses of Interface
org.pepstock.charba.client.Plugin
-
Packages that use Plugin Package Description org.pepstock.charba.client.impl.plugins Contains some plugins implementations, available out-of-the box.org.pepstock.charba.client.plugins Contains all classes to manage the plugin implementations. -
-
Uses of Plugin in org.pepstock.charba.client.impl.plugins
Classes in org.pepstock.charba.client.impl.plugins that implement Plugin Modifier and Type Class Description class
ChartBackgroundColor
A plugin implementation to set the background color, gradient or pattern of chart.
If added to defaults, without any configuration, the chart will have aChartBackgroundColor.DEFAULT_BACKGROUND_COLOR
background color.class
ChartPointer
This plugin is changing the cursor when mouse over on dataset, title on canvas if a dataset selection, title handler have been defined.class
ColorSchemes
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.class
DatasetsItemsSelector
Enables the datasets items selection directly in the canvas.
It works only for line and bar chart instances and if ZoomPlugin is disable.
It will add mouser listeners to canvas.
Tooltips will be disable to avoid events conflicts.
Overrides also the events which can be caught (only click and touchstart).
It activates also the legend click handler to avoid that all datasets will be hidden.class
HtmlLegend
This plugin implements a HTML legend in order to give more flexibility to who needs to customize the legend. -
Uses of Plugin in org.pepstock.charba.client.plugins
Classes in org.pepstock.charba.client.plugins that implement Plugin Modifier and Type Class Description class
AbstractPlugin
Implements a plugin interface to help who will create a plugin do not create all methods.
The only method not implemented isgetId
which must implemented.
AllonBefore*
cancelable methods returntrue
.Methods in org.pepstock.charba.client.plugins with parameters of type Plugin Modifier and Type Method Description void
Plugins. add(Plugin plugin)
Adds a new plugin to the chart.
If another plugin instance with the same id has been already loaded, it will remove, storing the new one.
If the chart is already initialized, to get this update the chart must be drawn again.boolean
GlobalPlugins. register(Plugin plugin)
Registers a plugin as global, to apply to all charts.
-