Package | Description |
---|---|
org.pepstock.charba.client.annotation |
Contains all classes to activate the
AnnotationPlugin#ID plugin (AKA chartjs-plugin-annotation.js ) for CHART.js. |
Modifier and Type | Method and Description |
---|---|
ColorCallback<AnnotationContext> |
AbstractAnnotation.getBorderColorCallback()
Returns the callback called to set the color of the border of annotation.
|
BorderDashCallback<AnnotationContext> |
AbstractAnnotation.getBorderDashCallback()
Returns the callback called to set the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of lines and gaps which
describe the pattern.
|
BorderDashOffsetCallback<AnnotationContext> |
AbstractAnnotation.getBorderDashOffsetCallback()
Returns the callback called to set the line dash pattern offset.
|
WidthCallback<AnnotationContext> |
AbstractAnnotation.getBorderWidthCallback()
Returns the callback called to set the width of the border in pixels.
|
ColorCallback<AnnotationContext> |
LineLabel.getColorCallback()
Returns the callback called to set the color of the text of label.
|
CornerRadiusCallback<AnnotationContext> |
LineLabel.getCornerRadiusCallback()
Returns the callback called to set the corner radius.
|
CornerRadiusCallback<AnnotationContext> |
BoxAnnotation.getCornerRadiusCallback()
Returns the callback called to set the corner radius.
|
DisplayCallback<AnnotationContext> |
LineLabel.getDisplayCallback()
Returns the callback called to set whether the label should be displayed.
|
DisplayCallback<AnnotationContext> |
AbstractAnnotation.getDisplayCallback()
Returns the callback called to set whether the annotation should be displayed.
|
FontCallback<AnnotationContext> |
LineLabel.getFontCallback()
Returns the font callback, if set, otherwise
null . |
RadiusCallback<AnnotationContext> |
PointAnnotation.getRadiusCallback()
Returns the callback called to set the radius.
|
RotationCallback<AnnotationContext> |
LineLabel.getRotationCallback()
Returns the callback called to set the rotation of label in degrees.
|
TextAlignCallback<AnnotationContext> |
LineLabel.getTextAlignCallback()
Returns the callback called to set the horizontal alignment of the label text when multiple lines.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractAnnotation.setBorderColor(ColorCallback<AnnotationContext> borderColorCallback)
Sets the callback to set the color of the border of annotation.
|
void |
AbstractAnnotation.setBorderDash(BorderDashCallback<AnnotationContext> borderDashCallback)
Sets the callback to set the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of lines and gaps which describe the
pattern.
|
void |
AbstractAnnotation.setBorderDashOffset(BorderDashOffsetCallback<AnnotationContext> borderDashOffsetCallback)
Sets the callback to set the line dash pattern offset.
|
void |
AbstractAnnotation.setBorderWidth(WidthCallback<AnnotationContext> borderWidthCallback)
Sets the callback to set the color of the width of the border in pixels.
|
void |
LineLabel.setColor(ColorCallback<AnnotationContext> colorCallback)
Sets the callback to set the color of the text of label.
|
void |
LineLabel.setCornerRadius(CornerRadiusCallback<AnnotationContext> cornerRadiusCallback)
Sets the callback to set the corner radius.
|
void |
BoxAnnotation.setCornerRadius(CornerRadiusCallback<AnnotationContext> cornerRadiusCallback)
Sets the callback to set the corner radius.
|
void |
LineLabel.setDisplay(DisplayCallback<AnnotationContext> displayCallback)
Sets the callback to set whether the label should be displayed.
|
void |
AbstractAnnotation.setDisplay(DisplayCallback<AnnotationContext> displayCallback)
Sets the callback to set whether the annotation should be displayed.
|
void |
LineLabel.setFont(FontCallback<AnnotationContext> fontCallback)
Sets the the font callback.
|
void |
PointAnnotation.setRadius(RadiusCallback<AnnotationContext> radiusCallback)
Sets the callback to set the radius.
|
void |
LineLabel.setRotation(RotationCallback<AnnotationContext> rotationCallback)
Sets the callback to set the rotation of label in degrees.
|
void |
LineLabel.setTextAlign(TextAlignCallback<AnnotationContext> alignCallback)
Sets the callback to set the horizontal alignment of the label text when multiple lines.
|