Package | Description |
---|---|
org.pepstock.charba.client.datalabels |
Contains all classes to activate the
DataLabelsPlugin.ID 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
DataLabelsPlugin.ID plugin to set align property at runtime, using the chart instance and the
plugin context. |
AnchorCallback
Callback interface of
DataLabelsPlugin.ID plugin to set anchor property at runtime, using the chart instance and the
plugin context. |
ClampCallback
Callback interface of
DataLabelsPlugin.ID plugin to set clamp property at runtime, using the chart instance and the
plugin context. |
ClipCallback
Callback interface of
DataLabelsPlugin.ID plugin to set clip property at runtime, using the chart instance and the plugin
context. |
ColorCallback
Callback interface of
DataLabelsPlugin.ID plugin to set color property at runtime, using the chart instance and the
plugin context.PAY ATTENTION that with the current release of DataLabelsPlugin.ID 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
DataLabelsPlugin.ID enhancement. |
DisplayCallback
Callback interface of
DataLabelsPlugin.ID plugin to set display property at runtime, using the chart instance and the
plugin context. |
FontCallback
Callback interface of
DataLabelsPlugin.ID plugin to set a font element at runtime, using the chart instance and the plugin context. |
FormatterCallback
Callback interface of
DataLabelsPlugin.ID 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
DataLabelsPlugin.ID plugin to set offset property at runtime, using the chart instance and the
plugin context. |
OpacityCallback
Callback interface of
DataLabelsPlugin.ID plugin to set opacity property at runtime, using the chart instance and the
plugin context. |
PaddingCallback
Callback interface of
DataLabelsPlugin.ID plugin to set a padding element at runtime, using the chart instance and the plugin context. |
TextAlignCallback
Callback interface of
DataLabelsPlugin.ID plugin to set textAlign property at runtime, using the chart instance and the
plugin context. |
TextShadowBlurCallback
Callback interface of
DataLabelsPlugin.ID plugin to set textShadowBlur property at runtime, using the chart instance and
the plugin context. |
TextShadowColorCallback
Callback interface of
DataLabelsPlugin.ID plugin to set textShadowColor property at runtime, using the chart instance and
the plugin context.PAY ATTENTION that with the current release of DataLabelsPlugin.ID 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
DataLabelsPlugin.ID enhancement. |
TextStrokeColorCallback
Callback interface of
DataLabelsPlugin.ID plugin to set textStrokeColor property at runtime, using the chart instance and
the plugin context.PAY ATTENTION that with the current release of DataLabelsPlugin.ID 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
DataLabelsPlugin.ID enhancement. |
TextStrokeWidthCallback
Callback interface of
DataLabelsPlugin.ID plugin to set textStrokeWidth property at runtime, using the chart instance and
the plugin context. |
Class and Description |
---|
FormatterCallback
Callback interface of
DataLabelsPlugin.ID 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. |