Package org.pepstock.charba.client.impl.plugins
Contains some plugins implementations, available out-of-the box.
- Author:
- Andrea "Stock" Stocchero
-
Interface Summary Interface Description ColorScheme This interface defines what a color scheme must have in terms of methods.
A color scheme must have:
name is the name of color scheme category is the category of color scheme. -
Class Summary Class Description 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.ChartBackgroundColorOptions Configuration options ofChartBackgroundColor.ID
plugin.ChartBackgroundColorOptionsBuilder Comfortable object to createChartBackgroundColor.ID
plugin options by a builder.ChartBackgroundColorOptionsFactory Factory to get the options (ONLY for chart and not global options) related toChartBackgroundColor.ID
plugin.ChartPointer This plugin is changing the cursor when mouse over on dataset, title on canvas if a dataset selection, title handler have been defined.ChartPointerOptions Configuration options ofChartPointer.ID
plugin.
It manages the cursor to adopt when the cursor is over the dataset item and when not.ChartPointerOptionsBuilder Comfortable object to createChartPointer.ID
plugin options by a builder.ChartPointerOptionsFactory Factory to get the options (form chart or from default global ones) related toChartPointer.ID
plugin.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.ColorSchemesOptions This is the object to map theColorSchemes.ID
plugin options, both at chart and global level.ColorSchemesOptionsBuilder Comfortable object to createColorSchemes.ID
plugin options by a builder.ColorSchemesOptionsFactory Factory to get the options (form chart or from default global ones) related toColorSchemes.ID
plugin.Crosshair This plugin is drawing horizontal and vertical crosshair on the chart.CrosshairLabel Crosshair.ID
plugin configuration element in order to have in the chart the label on the axes where the mouse is positioned.CrosshairLabels Utility provided to the user in order to set the same values to all labels, X and Y.CrosshairLabelsFont Utility provided to the user in order to set the same values to all font labels, X and Y.CrosshairOptions Configuration options ofCrosshair.ID
plugin.
It manages the drawing the horizontal and vertical crosshair on the chart.CrosshairOptionsBuilder Comfortable object to createCrosshair.ID
plugin options by a builder.CrosshairOptionsFactory Factory to get the options (form chart or from default global ones) related toCrosshair.ID
plugin.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.DatasetsItemsSelectorOptions Configuration options ofDatasetsItemsSelector.ID
plugin.
It is managing:
the X axis ID the Y axis ID the selection color the border color the border width the border dash the border dash offset flag to fire event on update flag to activate clean selection byKeyboardUiKey.ESCAPE
"clear" optionsDatasetsItemsSelectorOptionsBuilder Comfortable object to createDatasetsItemsSelector.ID
plugin options by a builder.DatasetsItemsSelectorOptionsFactory Factory to get the options (form chart or from default global ones) related toDatasetsItemsSelector.ID
plugin.HtmlLegend This plugin implements a HTML legend in order to give more flexibility to who needs to customize the legend.HtmlLegendItem Object used to invokeTilesFactory
in order to get thePointStyle
representation for legend.
This object is used internally even if is public, used only byHtmlLegend
plugin.HtmlLegendOptions Configuration options ofHtmlLegend.ID
plugin.
This is mapping the configuration both default global and per chart instance.HtmlLegendOptionsBuilder Comfortable object to createHtmlLegend.ID
plugin options by a builder.HtmlLegendOptionsFactory Factory to get the options (form chart or from default global ones) related toHtmlLegend.ID
plugin.SelectionCleaner DatasetsItemsSelector.ID
plugin configuration element in order to have in the chart a clickable element to clear the selection.