Package | Description |
---|---|
org.pepstock.charba.client |
Main package with all charts implementation, global classes and common interfaces.
|
org.pepstock.charba.client.annotation |
Contains all classes to activate the
AnnotationPlugin.ID plugin (AKA chartjs-plugin-annotation.js ) for CHART.js. |
org.pepstock.charba.client.commons |
Core classes to manage the inter-operations with java script code.
|
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.labels |
Contains all classes to use
LabelsPlugin.ID plugin (AKA chartjs-plugin-labels.js ) available for CHART.JS |
org.pepstock.charba.client.resources |
Contains the fundamental java script resources to inject in order to use Charba.
It provides all implementations to inject embedded resources for all 3 date adapters, available by CHART.JS (MOMENT, LUXON and DATE.FNS). |
org.pepstock.charba.client.zoom |
Contains all classes to activate the
ZoomPlugin.ID plugin (AKA chartjs-plugin-zoom.js ) for CHART.js. |
Modifier and Type | Method and Description |
---|---|
static void |
Injector.ensureCssInjected(AbstractInjectableResource resource)
Injects a CSS style resource if not injected yet.
|
static void |
Injector.ensureInjected(AbstractInjectableResource resource)
Injects a script resource if not injected yet.
|
static boolean |
Injector.isInjected(AbstractInjectableResource resource)
Returns
true if the script or style resource has been already injected. |
Modifier and Type | Class and Description |
---|---|
class |
AnnotationPluginResource
Contains the content of
chartjs-plugin-annotation.min.js to inject. |
Modifier and Type | Class and Description |
---|---|
class |
JsHelperResource
Contains the content of
charba.helper.min.js to inject. |
Modifier and Type | Class and Description |
---|---|
class |
DataLabelsPluginResource
Contains the content of
chartjs-plugin-datalabels.min.js to inject. |
Modifier and Type | Class and Description |
---|---|
class |
LabelsPluginResource
Contains the content of
chartjs-plugin-labels.min.js to inject. |
Modifier and Type | Class and Description |
---|---|
class |
ChartJsResource
Contains the content of
chart.min.js to inject. |
class |
DatefnsAdapterResource
Contains the content of
charba.empty.js to inject. |
class |
DatefnsLibraryResource
Contains the content of
chartjs-adapter-date-fns.bundle.min.js to inject. |
class |
EmptyResource
Default implementation for an empty resource to inject.
This could be helpful when you don't want to inject a library because are available from another framework. |
class |
InjectableTextResource
Default implementation for an injectable resource related to a text resource.
|
class |
LuxonAdapterResource
Contains the content of
chartjs-adapter-luxon.min.js to inject. |
class |
LuxonLibraryResource
Contains the content of
luxon.min.js to inject. |
class |
MomentAdapterResource
Contains the content of
chartjs-adapter-moment.min.js to inject. |
class |
MomentLibraryResource
Contains the content of
moment.min.js to inject. |
Modifier and Type | Method and Description |
---|---|
AbstractInjectableResource |
LuxonEmbeddedResources.datetimeAdapter() |
AbstractInjectableResource |
EmbeddedResources.datetimeAdapter() |
AbstractInjectableResource |
DatefnsEmbeddedResources.datetimeAdapter() |
protected abstract AbstractInjectableResource |
AbstractEmbeddedResources.datetimeAdapter()
Contains text representation of CHART.JS adapter code.
There is a specific adapter for the different date-time libraries. |
AbstractInjectableResource |
LuxonEmbeddedResources.datetimeLibrary() |
AbstractInjectableResource |
EmbeddedResources.datetimeLibrary() |
AbstractInjectableResource |
DatefnsEmbeddedResources.datetimeLibrary() |
protected abstract AbstractInjectableResource |
AbstractEmbeddedResources.datetimeLibrary()
Contains text representation of date-time java script library code.
|
Modifier and Type | Class and Description |
---|---|
class |
ZoomPluginHammerResource
Contains the content of
hammer.min.js to inject. |
class |
ZoomPluginResource
Contains the content of
chartjs-plugin-zoom.min.js to inject. |