Package org.pepstock.charba.client.zoom
Contains all classes to activate the
ZoomPlugin.ID
plugin (AKA chartjs-plugin-zoom.js
) for CHART.js.- Author:
- Andrea "Stock" Stocchero
-
Class Summary Class Description AbstractConfigurationItem Abstract element used by pan and zoom object in order to enable to provide the configuration ofZoomPlugin.ID
.Amount This object is wrapping the native java script object to set the position to pan the chart.Drag Configuration item to define the style to apply to drag area, during zooming.EventPoint This object is wrapping the native java script object provided byZoomContext
to know the position of the event when pan or zoom are about to start.Limits Entity ofZoomPlugin.ID
configuration in order to define the limits of X and Y scales for pan and zoom.Pan Base object to map pan options forZoomPlugin.ID
plugin configuration.
It represents the container for PAN options.Pinch Base object to map wheel options forZoomPlugin.ID
plugin configuration.
It represents the container for WHEEL options.ScaleLimit Entity ofZoomPlugin.ID
configuration in order to set minimum and maximum values of the scales for pan or zoom.ScaleRange Entity ofZoomPlugin.ID
configuration in order to set minimum and maximum values of the scales for pan or zoom.
The values to set to the properties depends on the type of scales are used.Wheel Base object to map wheel options forZoomPlugin.ID
plugin configuration.
It represents the container for WHEEL options.Zoom Base object to map zoom options forZoomPlugin.ID
plugin configuration.
It represents the container for ZOOM options.ZoomContext The callback or handler context, created and passed byZoomPlugin.ID
which contains the link to the native chart and the event.ZoomOptions This is theZoomPlugin.ID
plugin options where to set all the configuration needed to the plugin.ZoomOptionsFactory Factory to get the options (form chart, form dataset or from default global ones) related toZoomPlugin.ID
plugin.ZoomPlugin Entry point of ZOOM plugin to enable the plugin.
The ZOOM plugin is highly customizable CHART.JS plugin that is zooming data of charts.
The ZOOM plugin plugin has got a dependency with javascript utility hammer, utility used for gesture recognition.ZoomPoint Maps the point as limit to zoom inZoomPlugin.zoomRect(org.pepstock.charba.client.IsChart, ZoomPoint, ZoomPoint)