Uses of Class
org.pepstock.charba.client.annotation.AbstractAnnotation
-
Packages that use AbstractAnnotation Package Description org.pepstock.charba.client.annotation Contains all classes to activate theAnnotationPlugin.ID
plugin (AKAchartjs-plugin-annotation.js
) for CHART.js.org.pepstock.charba.client.annotation.listeners Contains all callback interfaces to implement for theAnnotationPlugin.ID
plugin. -
-
Uses of AbstractAnnotation in org.pepstock.charba.client.annotation
Subclasses of AbstractAnnotation in org.pepstock.charba.client.annotation Modifier and Type Class Description class
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.class
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.class
LineAnnotation
Implements a LINE annotation which draws a line in the a chart.
Vertical or horizontal lines are supported.class
PointAnnotation
Implements a POINT annotation which draws a point in the a chart.Methods in org.pepstock.charba.client.annotation that return AbstractAnnotation Modifier and Type Method Description AbstractAnnotation
AnnotationContext. getAnnotation()
Returns the annotation of plugin.AbstractAnnotation
AnnotationOptions. getAnnotation(String id)
Returns the annotation with the id passed as argument ornull
if not exist.AbstractAnnotation
AnnotationOptions. getAnnotation(AnnotationId id)
Returns the annotation with the id passed as argument ornull
if not exist.Methods in org.pepstock.charba.client.annotation that return types with arguments of type AbstractAnnotation Modifier and Type Method Description List<AbstractAnnotation>
AnnotationOptions. getAnnotations()
Returns the collection of annotations.Methods in org.pepstock.charba.client.annotation with parameters of type AbstractAnnotation Modifier and Type Method Description void
AnnotationOptions. addAnnotations(AbstractAnnotation... annotations)
Adds an annotations for plugin.void
AnnotationOptions. setAnnotations(AbstractAnnotation... annotations)
Sets a set of annotations for plugin. -
Uses of AbstractAnnotation in org.pepstock.charba.client.annotation.listeners
Methods in org.pepstock.charba.client.annotation.listeners with parameters of type AbstractAnnotation Modifier and Type Method Description void
ClickCallback. onClick(IsChart chart, AbstractAnnotation annotation, ChartEventContext event)
Method called once click is fired.void
DoubleClickCallback. onDoubleClick(IsChart chart, AbstractAnnotation annotation, ChartEventContext event)
Method called once dblclick is fired.void
EnterCallback. onEnter(IsChart chart, AbstractAnnotation annotation, ChartEventContext event)
Method called once enter is fired.void
LeaveCallback. onLeave(IsChart chart, AbstractAnnotation annotation, ChartEventContext event)
Method called once leave is fired.
-