Package | Description |
---|---|
org.pepstock.charba.client.commons |
Core classes to manage the inter-operations with java script code.
|
org.pepstock.charba.client.configuration |
Contains all elements to configure a chart instance (know as chart options at instance level).
|
org.pepstock.charba.client.data |
Contains all elements to configure the datasets of a chart instance (know as chart data at instance level).
|
org.pepstock.charba.client.defaults.chart |
Contains the default values of chart options based on type of chart instance.
|
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.options |
Contains all elements to configure charts at global level (know as chart global options).
|
org.pepstock.charba.client.plugins |
Contains all classes to manage the plugin implementations.
|
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 |
---|---|
ChartEnvelop<NativeObject> |
NativeObjectContainer.loadNativeObject(ChartEnvelop<NativeObject> envelop)
Returns the native object instance inside an envelop.
It can be called only from org.pepstock.charba.client package. |
Modifier and Type | Method and Description |
---|---|
void |
Merger.load(IsChart chart,
NativeObjectContainer options,
ChartEnvelop<NativeObject> envelop)
Merges chart default options (by chart.defaults[type]), default scale options (by chart.defaults.scale) and global options (by chart.defaults.global) and chart options.
The chain of priority is: chart options chart default options (by chart.defaults[type]) default scale options (by chart.defaults.scale) global options (by chart.defaults.global) |
void |
Merger.load(NativeObjectContainer options,
ChartEnvelop<NativeObject> envelop)
Merges the chart options, built after the chart initialization on the chart configuration in order that the configuration can contain all values, also the defaults.
|
void |
Merger.load(Type type,
ChartEnvelop<ChartOptions> options,
ChartEnvelop<NativeObject> envelop)
Merges chart default options (by chart.defaults[type]), default scale options (by chart.defaults.scale) and global options (by chart.defaults.global).
The chain of priority is: chart default options (by chart.defaults[type]) default scale options (by chart.defaults.scale) global options (by chart.defaults.global) |
void |
Merger.load(Type type,
ChartEnvelop<ChartOptions> options,
ChartEnvelop<NativeObject> envelop)
Merges chart default options (by chart.defaults[type]), default scale options (by chart.defaults.scale) and global options (by chart.defaults.global).
The chain of priority is: chart default options (by chart.defaults[type]) default scale options (by chart.defaults.scale) global options (by chart.defaults.global) |
void |
Merger.load(Type type,
ChartEnvelop<NativeObject> envelop)
Merges chart default options (by chart.defaults[type]), default scale options (by chart.defaults.scale) and global options (by chart.defaults.global).
The chain of priority is: chart default options (by chart.defaults[type]) default scale options (by chart.defaults.scale) global options (by chart.defaults.global) |
ChartEnvelop<NativeObject> |
NativeObjectContainer.loadNativeObject(ChartEnvelop<NativeObject> envelop)
Returns the native object instance inside an envelop.
It can be called only from org.pepstock.charba.client package. |
Modifier and Type | Method and Description |
---|---|
void |
ConfigurationOptions.loadOptions(ChartEnvelop<NativeObject> envelop)
Merges chart default options (by chart.defaults[type]), default scale options (by chart.defaults.scale) and global options (by chart.defaults.global) and chart options.
The chain of priority is: chart options chart default options (by chart.defaults[type]) default scale options (by chart.defaults.scale) global options (by chart.defaults.global) |
void |
ConfigurationOptions.setChartOptions(ChartEnvelop<NativeObject> envelop)
Sets the chart options as underlying configuration options, after the first draw of the chart.
Leveraging on proxy, this is mandatory and enables the possibility to use only the configuration options to update the chart options at runtime. |
Constructor and Description |
---|
Data(ChartEnvelop<IsChart> envelop)
Creates the object with an empty native object.
|
Constructor and Description |
---|
DefaultChartOptions(ChartEnvelop<ExtendedOptions> envelop)
Creates the default by an extended options instance, which represents the whole options of a chart.
|
Constructor and Description |
---|
ChartAreaNode(ChartEnvelop<NativeObject> envelop)
Creates the item using envelop with the native java script object which contains all properties.
|
DatasetItem(ChartEnvelop<NativeObject> envelop)
Creates the item using an envelop with the native java script object which contains all properties.
|
LegendItem(ChartEnvelop<LegendItem> envelop)
Creates the item using another legend item (passed by envelop) which contains all properties.
|
LegendNode(ChartEnvelop<NativeObject> envelop)
Creates the item using an envelop with the native java script object which contains all properties.
|
OptionsNode(String chartId,
IsDefaultScaledOptions defaultValues,
ChartEnvelop<NativeObject> envelop)
Creates the item using an envelop with the native java script object which contains all properties.
|
ScalesNode(ChartEnvelop<NativeObject> envelop)
Creates the item using an envelop with the native java script object which contains all properties.
|
SubtitleNode(ChartEnvelop<NativeObject> envelop)
Creates the item using envelop with the native java script object which contains all properties.
|
TitleNode(ChartEnvelop<NativeObject> envelop)
Creates the item using envelop with the native java script object which contains all properties.
|
TooltipNode(ChartEnvelop<NativeObject> envelop)
Creates the item using envelop with the native java script object which contains all properties.
|
Constructor and Description |
---|
AnimationTransition(Key childKey,
IsDefaultAnimationTransition defaultValues,
ChartEnvelop<NativeObject> envelop,
String scope)
Creates an animation transitions container for the
UpdateConfiguration . |
ExtendedOptions(IsChart chart,
IsDefaultScaledOptions defaultValues,
ChartEnvelop<NativeObject> envelop)
Creates an options with default provider.
|
Plugins(ChartEnvelop<Plugins> envelop)
Creates the object wrapping another plugin.
This constructor is used ONLY from GlobalOptions . |
Modifier and Type | Method and Description |
---|---|
void |
AbstractPluginOptions.applyingDefaults(ChartEnvelop<String> envelop)
This is invoked before storing the plugins options as default.
This is called set the options of plugin are stored as default, see GlobalOptions.getPlugins() . |
Modifier and Type | Method and Description |
---|---|
static void |
EntryPointStarter.run(Runnable runnable,
ChartEnvelop<DeferredResources> envelop)
Start an entry point as a runnable.
This runnable instance must contains all calls to chart. This helps when the GWT application is leveraging on code splitting. This is deprecated, use DeferredCharba . |
static <T extends AbstractResources> |
ResourcesType.setResources(ChartEnvelop<T> envelop)
Sets the resources type to use to inject java script code.
If the resources type was already set or if is null an exception will be throw.This is deprecated, use Charba . |