Package org.pepstock.charba.client.datalabels
Contains all classes to activate the
DataLabelsPlugin.ID
plugin (AKA chartjs-plugin-datalabels.js
) for CHART.js.- Author:
- Andrea "Stock" Stocchero
-
Interface Summary Interface Description DataLabelId Represents the label id of a label configuration object in theDataLabelsPlugin.ID
plugin. -
Class Summary Class Description AbstractBuilder<T extends LabelItem> Abstract base comfortable object to createDataLabelsPlugin.ID
label item by a builder.DataLabelsContext The option context is used to give contextual information when resolving options forDataLabelsPlugin
.DataLabelsEnvelop<T> This object is a container of hidden object to pass to other packages.
It can not be instantiated in order that public methods can be invoked in safe mode.DataLabelsOptions This is theDataLabelsPlugin.ID
plugin options where to set all the configuration needed to the plugin.
The options could be set by simply the value or by setting a callback.
TheDataLabelsPlugin.ID
plugin is highly customizable CHART.JS plugin that displays labels on data for any type of charts.DataLabelsOptionsBuilder Comfortable object to createDataLabelsPlugin.ID
plugin options by a builder.DataLabelsOptionsFactory Factory to get the options (form chart, form dataset or from default global ones) related toDataLabelsPlugin.ID
plugin.DataLabelsPlugin Entry point of DATALABELS plugin to enable the plugin.
TheDataLabelsPlugin.ID
plugin is highly customizable CHART.JS plugin that displays labels on data for any type of charts.Font Base object to map font options forDataLabelsPlugin.ID
plugin configuration.LabelItem This is the base forDataLabelsPlugin.ID
plugin options where to set all the configuration needed to the a label.
The options could be set by simply the value or by setting a callback.LabelItemBuilder Comfortable object to createDataLabelsPlugin.ID
label item by a builder.Labels Base object to map multi labels options forDataLabelsPlugin.ID
plugin configuration.
It's possible to define multiple labels for each data element using the this object.
It is an object where each property represents a new label, the key being the label key and the value being the options specific to each label.Listeners This is the LISTENER options ofDataLabelsPlugin.ID
plugin allows to register callback(s) to be notified when an event is detected on a specific label.Padding Base object to map padding options forDataLabelsPlugin.ID
plugin configuration.
It is applied to all sides of the label (left, top, right, bottom).