Package | Description |
---|---|
org.pepstock.charba.client.datalabels |
Contains all classes to activate the DATALABELS plugin (AKA
chartjs-plugin-datalabels.js ) for CHART.js. |
org.pepstock.charba.client.impl.callbacks |
Contains some callbacks implementations, available out-of-the box.
|
Class and Description |
---|
AlignCallback
Callback interface of DATALABELS plugin to set
align property at runtime, using the chart instance and the
plugin context. |
AnchorCallback
Callback interface of DATALABELS plugin to set
anchor property at runtime, using the chart instance and the
plugin context. |
BackgroundColorCallback
Callback interface of DATALABELS plugin to set
backgroundColor property at runtime, using the chart instance and
the plugin context.PAY ATTENTION that with the current release of DATALABELS plugin, the GRADIENT coordinates are relative the the label coordinates (local), not relative to the canvas coordinates (global), therefore NOT USE GRADIENT Charba object, waiting for DATALABELS enhancement. |
BorderColorCallback
Callback interface of DATALABELS plugin to set
borderColor property at runtime, using the chart instance and the
plugin context.PAY ATTENTION that with the current release of DATALABELS plugin, the GRADIENT coordinates are relative the the label coordinates (local), not relative to the canvas coordinates (global), therefore NOT USE GRADIENT Charba object, waiting for DATALABELS enhancement. |
BorderRadiusCallback
Callback interface of DATALABELS plugin to set
borderRadius property at runtime, using the chart instance and
the plugin context. |
BorderWidthCallback
Callback interface of DATALABELS plugin to set
borderWidth property at runtime, using the chart instance and the
plugin context. |
ClampCallback
Callback interface of DATALABELS plugin to set
clamp property at runtime, using the chart instance and the
plugin context. |
ClipCallback
Callback interface of DATALABELS plugin to set
clip property at runtime, using the chart instance and the plugin
context. |
ColorCallback
Callback interface of DATALABELS plugin to set
color property at runtime, using the chart instance and the
plugin context.PAY ATTENTION that with the current release of DATALABELS plugin, the GRADIENT coordinates are relative the the label coordinates (local), not relative to the canvas coordinates (global), therefore NOT USE GRADIENT Charba object, waiting for DATALABELS enhancement. |
DisplayCallback
Callback interface of DATALABELS plugin to set
display property at runtime, using the chart instance and the
plugin context. |
FontCallback
Callback interface of DATALABELS plugin to set a font element at runtime, using the chart instance and the plugin context.
|
FormatterCallback
Callback interface of DATALABELS plugin to set
formatter property at runtime, using the chart instance and the
plugin context.Labels can be displayed on multiple lines by using the newline character \n between each line or by providing an
array of strings where each item represents a new line. |
OffsetCallback
Callback interface of DATALABELS plugin to set
offset property at runtime, using the chart instance and the
plugin context. |
OpacityCallback
Callback interface of DATALABELS plugin to set
opacity property at runtime, using the chart instance and the
plugin context. |
PaddingCallback
Callback interface of DATALABELS plugin to set a padding element at runtime, using the chart instance and the plugin context.
|
RotationCallback
Callback interface of DATALABELS plugin to set
rotation property at runtime, using the chart instance and the
plugin context. |
TextAlignCallback
Callback interface of DATALABELS plugin to set
textAlign property at runtime, using the chart instance and the
plugin context. |
TextShadowBlurCallback
Callback interface of DATALABELS plugin to set
textShadowBlur property at runtime, using the chart instance and
the plugin context. |
TextShadowColorCallback
Callback interface of DATALABELS plugin to set
textShadowColor property at runtime, using the chart instance and
the plugin context.PAY ATTENTION that with the current release of DATALABELS plugin, the GRADIENT coordinates are relative the the label coordinates (local), not relative to the canvas coordinates (global), therefore NOT USE GRADIENT Charba object, waiting for DATALABELS enhancement. |
TextStrokeColorCallback
Callback interface of DATALABELS plugin to set
textStrokeColor property at runtime, using the chart instance and
the plugin context.PAY ATTENTION that with the current release of DATALABELS plugin, the GRADIENT coordinates are relative the the label coordinates (local), not relative to the canvas coordinates (global), therefore NOT USE GRADIENT Charba object, waiting for DATALABELS enhancement. |
TextStrokeWidthCallback
Callback interface of DATALABELS plugin to set
textStrokeWidth property at runtime, using the chart instance and
the plugin context. |
Class and Description |
---|
FormatterCallback
Callback interface of DATALABELS plugin to set
formatter property at runtime, using the chart instance and the
plugin context.Labels can be displayed on multiple lines by using the newline character \n between each line or by providing an
array of strings where each item represents a new line. |