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.datalabels.enums |
Contains all enumerations to configure the
DataLabelsPlugin.ID plugin. |
Modifier and Type | Field and Description |
---|---|
static Anchor |
DataLabelsOptions.DEFAULT_ANCHOR
Default anchor point, which is defined by an orientation vector and a position on the data element,
CENTER . |
Modifier and Type | Method and Description |
---|---|
Anchor |
LabelItem.getAnchor()
Returns the anchor point, which is defined by an orientation vector and a position on the data element.
|
Modifier and Type | Method and Description |
---|---|
void |
LabelItem.setAnchor(Anchor anchor)
Sets the anchor point, which is defined by an orientation vector and a position on the data element.
|
AbstractBuilder<T> |
AbstractBuilder.setAnchor(Anchor anchor)
Sets the anchor point, which is defined by an orientation vector and a position on the data element.
|
Modifier and Type | Method and Description |
---|---|
static Anchor |
Anchor.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Anchor[] |
Anchor.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|