Package | Description |
---|---|
org.pepstock.charba.client.annotation |
Contains all classes to activate the
AnnotationPlugin#ID plugin (AKA chartjs-plugin-annotation.js ) for CHART.js. |
org.pepstock.charba.client.datalabels |
Contains all classes to activate the
DataLabelsPlugin.ID plugin (AKA chartjs-plugin-datalabels.js ) for CHART.js. |
Modifier and Type | Method and Description |
---|---|
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 |
LineLabel.setTextAlign(TextAlignCallback<AnnotationContext> alignCallback)
Sets the callback to set the horizontal alignment of the label text when multiple lines.
|
Modifier and Type | Method and Description |
---|---|
TextAlignCallback<DataLabelsContext> |
LabelItem.getTextAlignCallback()
Returns the text align callback, if set, otherwise
null . |
Modifier and Type | Method and Description |
---|---|
void |
LabelItem.setTextAlign(TextAlignCallback<DataLabelsContext> textAlignCallback)
Sets the text align callback.
|
AbstractBuilder<T> |
AbstractBuilder.setTextAlign(TextAlignCallback<DataLabelsContext> textAlignCallback)
Sets the text align callback.
|