Package org.pepstock.charba.client.annotation
Contains all classes to activate the
AnnotationPlugin.ID
plugin (AKA chartjs-plugin-annotation.js
) for CHART.js.- Author:
- Andrea "Stock" Stocchero
-
Interface Summary Interface Description AnnotationId Represents the annotation id of a annotation configuration object in theAnnotationPlugin.ID
plugin. -
Class Summary Class Description AbstractAnnotation Base class to define an annotation in theAnnotationPlugin.ID
plugin.
It contains all commons properties to define an annotation.AnnotationContext The callback or handler context wrapper, created and passed byAnnotationPlugin.ID
which contains the link to the native chart.AnnotationEnvelop<T> This object is a container of hidden object to pass to other packages.
It can not be instantiated in order that public methods can be invoked in safe mode.AnnotationOptions This is theAnnotationPlugin.ID
plugin options where to set all configuration items needed to the plugin.AnnotationOptionsFactory Factory to get the options (from chart) related toAnnotationPlugin.ID
plugin.AnnotationPlugin Entry point of ANNOTATION plugin to enable the plugin.
The ANNOTATION plugin draws lines and boxes on the chart area.
The ANNOTATION plugin plugin works with line, bar, scatter and bubble charts that use linear, logarithmic, time, or category scales.
The ANNOTATION plugin plugin will not work on any chart that does not have exactly two axes, including pie, radar, and polar area charts.BoxAnnotation Implements a BOX annotation which draws a box in the a chart.
If one of the axes is not specified, the box will take the entire chart dimension.
The 4 coordinates, xMin, xMax, yMin, yMax are optional.EllipseAnnotation Implements a ELLIPSE annotation which draws a ellipse in the a chart.
If one of the axes is not specified, the ellipse will take the entire chart dimension.
The 4 coordinates, xMin, xMax, yMin, yMax are optional.Font Base object to map font options forAnnotationPlugin.ID
plugin LINE LABEL configuration.LineAnnotation Implements a LINE annotation which draws a line in the a chart.
Vertical or horizontal lines are supported.LineLabel Implements a LABEL to apply on a LINE annotation.PointAnnotation Implements a POINT annotation which draws a point in the a chart. -
Enum Summary Enum Description AnnotationType Defines the type of annotation.