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.geo |
Contains all classes to activate the GEO controllers (AKA
chartjs-chart-geo.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 LUXON date adapters. |
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 |
GeoControllerResource
Contains the content of
chartjs-chart-geo.min.js to inject. |
Modifier and Type | Method and Description |
---|---|
static TopoJson |
GeoUtils.createTopoJson(AbstractInjectableResource topojson)
Creates the
TopoJson object definition from a topoJson text definition. |
static Feature |
GeoUtils.feature(AbstractInjectableResource topojson,
Key featureProperty,
FeatureFindCallback findCallback)
Reads the topoJson definition and find a specific feature to enable outline.
|
static Feature |
GeoUtils.feature(AbstractInjectableResource topojson,
String featureProperty,
FeatureFindCallback findCallback)
Reads the topoJson definition and find a specific feature to enable outline.
|
static List<Feature> |
GeoUtils.features(AbstractInjectableResource topojson,
Key featureProperty)
Reads the topoJson definition and creates a list of features to enable regions drawing.
|
static List<Feature> |
GeoUtils.features(AbstractInjectableResource topojson,
Key featureProperty,
FeatureFilterCallback filterCallback)
Reads the topoJson definition and creates a list of features to enable regions drawing.
|
static List<Feature> |
GeoUtils.features(AbstractInjectableResource topojson,
String featureProperty)
Reads the topoJson definition and creates a list of features to enable regions drawing.
|
static List<Feature> |
GeoUtils.features(AbstractInjectableResource topojson,
String featureProperty,
FeatureFilterCallback filterCallback)
Reads the topoJson definition and creates a list of features to enable regions drawing.
|
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 |
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. |
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. |