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.AlignPosition This object is to set the position of a label, setting the horizontal and vertical position.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.Arrow Implements a ARROWHEADS, and its start and end nodes, to apply on a LINE annotation.ArrowHeads Implements a ARROWHEADS to apply on a LINE annotation.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.BoxLabel Implements a LABEL to apply on a LINE annotation.Callout Implements a CALLOUT to apply on a LABEL annotation.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 for label configuration.LabelAnnotation Implements a LABEL annotation which draws a content in the a chart.LineAnnotation Implements a LINE annotation which draws a line in the a chart.LineLabel Implements a LABEL to apply on a LINE annotation.Padding Base object to map padding options forAnnotationPlugin.ID
plugin padding configuration.
It is applied to all sides of the label (left, top, right, bottom).PointAnnotation Implements a POINT annotation which draws a point in the a chart.PolygonAnnotation Implements a POLYGON annotation which draws a polygon in the a chart. -
Enum Summary Enum Description AnnotationType Defines the type of annotation.