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 |
---|---|
Anchor |
DataLabelsOptions.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 |
---|---|
DataLabelsOptionsBuilder |
DataLabelsOptionsBuilder.setAnchor(Anchor anchor)
Sets the anchor point, which is defined by an orientation vector and a position on the data element.
|
void |
DataLabelsOptions.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 |
---|---|
Anchor |
AnchorCallback.anchor(AbstractChart<?,?> chart,
Context context)
Returns the
anchor property at runtime, using the chart instance and the plugin context. |
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.
|