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.
|
Modifier and Type | Method and Description |
---|---|
FormatterCallback |
LabelItem.getFormatterCallback()
Returns the formatter callback, if set, otherwise
null . |
Modifier and Type | Method and Description |
---|---|
void |
LabelItem.setFormatter(FormatterCallback formatterCallback)
Sets the formatter callback.
|
AbstractBuilder<T> |
AbstractBuilder.setFormatter(FormatterCallback formatterCallback)
Sets the formatter callback.
|
Modifier and Type | Class and Description |
---|---|
class |
PercentageCallback
Formatter implementation for DataLabelsPlugin plugin in order to provide the percentage of the value.
Setting this object to formatter callback of DataLabelsPlugin options, it will return the percentage for each data index per dataset. |