Package | Description |
---|---|
org.pepstock.charba.client.callbacks |
All callbacks interfaces to be implemented, also to use the scriptable options of CHART.JS.
|
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.
|
org.pepstock.charba.client.items |
Contains all elements generated by CHART.JS, which are mapping java script objects, to use at runtime in plugins, events or controllers.
|
org.pepstock.charba.client.labels |
Contains all classes to use
LabelsPlugin.ID plugin (AKA chartjs-plugin-labels.js ) available for CHART.JS. |
Modifier and Type | Class and Description |
---|---|
class |
DatasetContext
The option context is used to give contextual information when resolving options.
|
Modifier and Type | Class and Description |
---|---|
class |
DataLabelsContext
The option context is used to give contextual information when resolving options for
DataLabelsPlugin . |
Modifier and Type | Method and Description |
---|---|
static double |
Percentage.compute(IsChart chart,
double value,
AbstractDatasetContext context)
Computes the percentage of the value based on the data of datasets.
|
static double |
Percentage.compute(IsChart chart,
double value,
AbstractDatasetContext context,
boolean stacked)
Computes the percentage of the value based on the data of datasets.
|
Constructor and Description |
---|
DatasetReference(AbstractDatasetContext context,
DatasetElement item)
Creates the item reference using a a scriptale context and a data set item.
|
Modifier and Type | Class and Description |
---|---|
class |
LabelsContext
This object is wrapping the native java script object provided by
LabelsPlugin.ID plugin when the callback function is called. |