Package | Description |
---|---|
org.pepstock.charba.client |
Main package with all charts implementation, global classes and common interfaces.
|
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.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. |
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 | 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 |
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.
|