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.datalabels.callbacks |
Contains the DATALABELS plugin callback interfaces to configure the plugin itself.
|
org.pepstock.charba.client.datalabels.enums |
Contains all enumerations to configure the DATALABELS plugin.
|
Modifier and Type | Method and Description |
---|---|
TextAlign |
DataLabelsOptions.getTextAlign()
Returns the text alignment being used when drawing the label text.
|
Modifier and Type | Method and Description |
---|---|
DataLabelsOptionsBuilder |
DataLabelsOptionsBuilder.setTextAlign(TextAlign textAlign)
Sets the text alignment being used when drawing the label text.
|
void |
DataLabelsOptions.setTextAlign(TextAlign textAlign)
Sets the text alignment being used when drawing the label text.
|
Modifier and Type | Method and Description |
---|---|
TextAlign |
TextAlignCallback.textAlign(AbstractChart<?,?> chart,
Context context)
Returns the
textAlign property at runtime, using the chart instance and the plugin context. |
Modifier and Type | Method and Description |
---|---|
static TextAlign |
TextAlign.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextAlign[] |
TextAlign.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|