Uses of Class
org.pepstock.charba.client.annotation.AnnotationContext
-
Packages that use AnnotationContext 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 AnnotationContext in org.pepstock.charba.client.annotation
Methods in org.pepstock.charba.client.annotation that return types with arguments of type AnnotationContext Modifier and Type Method Description DisplayCallback<AnnotationContext>
AbstractAnnotation. getDisplayCallback()
Returns the callback called to set whether the annotation should be displayed.DisplayCallback<AnnotationContext>
Arrow. getDisplayCallback()
Returns the callback called to set whether the arrow head should be displayed.DisplayCallback<AnnotationContext>
Callout. getDisplayCallback()
Returns the callback called to set whether the label should be displayed.PointStyleCallback<AnnotationContext>
PointAnnotation. getPointStyleCallback()
Returns the point style callback, if set, otherwisenull
.RotationCallback<AnnotationContext>
EllipseAnnotation. getRotationCallback()
Returns the callback called to set the rotation of label in degrees.RotationCallback<AnnotationContext>
LineLabel. getRotationCallback()
Returns the callback called to set the rotation of label in degrees.WidthCallback<AnnotationContext>
Arrow. getWidthCallback()
Returns the callback called to set the amount of pixels of the width of the arrow head.Method parameters in org.pepstock.charba.client.annotation with type arguments of type AnnotationContext Modifier and Type Method Description void
AbstractAnnotation. setDisplay(DisplayCallback<AnnotationContext> displayCallback)
Sets the callback to set whether the annotation should be displayed.void
Arrow. setDisplay(DisplayCallback<AnnotationContext> displayCallback)
Sets the callback to set whether the arrow head should be displayed.void
Callout. setDisplay(DisplayCallback<AnnotationContext> displayCallback)
Sets the callback to set whether the label should be displayed.void
PointAnnotation. setPointStyle(PointStyleCallback<AnnotationContext> pointStyleCallback)
Sets the point style callback.void
EllipseAnnotation. setRotation(RotationCallback<AnnotationContext> rotationCallback)
Sets the callback to set the rotation of label in degrees.void
LineLabel. setRotation(RotationCallback<AnnotationContext> rotationCallback)
Sets the callback to set the rotation of label in degrees.void
Arrow. setWidth(WidthCallback<AnnotationContext> widthCallback)
Sets the callback to set the amount of pixels of the width of the arrow head. -
Uses of AnnotationContext in org.pepstock.charba.client.annotation.listeners
Methods in org.pepstock.charba.client.annotation.listeners with parameters of type AnnotationContext Modifier and Type Method Description void
ClickCallback. onClick(AnnotationContext context, ChartEventContext event)
Method called once click is fired.void
DoubleClickCallback. onDoubleClick(AnnotationContext context, ChartEventContext event)
Method called once dblclick is fired.void
EnterCallback. onEnter(AnnotationContext context, ChartEventContext event)
Method called once enter is fired.void
LeaveCallback. onLeave(AnnotationContext context, ChartEventContext event)
Method called once leave is fired.
-