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.IDplugin (AKAchartjs-plugin-annotation.js) for CHART.js.org.pepstock.charba.client.annotation.listeners Contains all callback interfaces to implement for theAnnotationPlugin.IDplugin. -
-
Uses of AbstractAnnotation in org.pepstock.charba.client.annotation
Subclasses of AbstractAnnotation in org.pepstock.charba.client.annotation Modifier and Type Class Description classBoxAnnotationImplements 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.classEllipseAnnotationImplements 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.classLineAnnotationImplements a LINE annotation which draws a line in the a chart.
Vertical or horizontal lines are supported.classPointAnnotationImplements 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 AbstractAnnotationAnnotationContext. getAnnotation()Returns the annotation of plugin.AbstractAnnotationAnnotationOptions. getAnnotation(String id)Returns the annotation with the id passed as argument ornullif not exist.AbstractAnnotationAnnotationOptions. getAnnotation(AnnotationId id)Returns the annotation with the id passed as argument ornullif 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 voidAnnotationOptions. addAnnotations(AbstractAnnotation... annotations)Adds an annotations for plugin.voidAnnotationOptions. 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 voidClickCallback. onClick(IsChart chart, AbstractAnnotation annotation, ChartEventContext event)Method called once click is fired.voidDoubleClickCallback. onDoubleClick(IsChart chart, AbstractAnnotation annotation, ChartEventContext event)Method called once dblclick is fired.voidEnterCallback. onEnter(IsChart chart, AbstractAnnotation annotation, ChartEventContext event)Method called once enter is fired.voidLeaveCallback. onLeave(IsChart chart, AbstractAnnotation annotation, ChartEventContext event)Method called once leave is fired.
-