Package | Description |
---|---|
org.pepstock.charba.client.datalabels |
Contains all classes to activate the
DataLabelsPlugin.ID plugin (AKA chartjs-plugin-datalabels.js ) for CHART.js. |
Modifier and Type | Method and Description |
---|---|
static DataLabelId |
DataLabelId.create(String id)
Returns a key instance by its string value.
|
Modifier and Type | Method and Description |
---|---|
static void |
DataLabelId.checkIfValid(DataLabelId id)
Checks if id passed as argument is not
null and its value is not null as well and could be a valid label configuration object id.If not, throw a IllegalArgumentException . |
LabelItemBuilder |
DataLabelsOptionsBuilder.createLabel(DataLabelId id)
Returns new options builder for new label identified by id.
|
LabelItem |
Labels.createLabel(DataLabelId id)
Returns new options for specific id.
|
LabelItemBuilder |
DataLabelsOptionsBuilder.getLabel(DataLabelId id)
Returns the options builder for label identified by id
|
LabelItem |
Labels.getLabel(DataLabelId id)
Returns the stored options for specific id.
|
boolean |
Labels.hasLabel(DataLabelId id)
Returns
true if there is a stored options for specific key. |
static boolean |
DataLabelId.isValid(DataLabelId id)
Returns
true if id passed as argument is not null and its value is not null as well and could be a valid label configuration object
id. |
void |
Labels.removeLabel(DataLabelId id)
Removes an existing label for specific id.
|