Uses of Class
org.pepstock.charba.client.ChartEnvelop
-
Packages that use ChartEnvelop 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.intl Contains classes in order to use the ECMAScript Internationalization API, which provides language sensitive number formatting, and date and time formatting.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. -
-
Uses of ChartEnvelop in org.pepstock.charba.client.commons
Methods in org.pepstock.charba.client.commons that return ChartEnvelop Modifier and Type Method Description ChartEnvelop<NativeObject>
NativeObjectContainer. loadNativeObject(ChartEnvelop<NativeObject> envelop)
Returns the native object instance inside an envelop.
It can be called only fromorg.pepstock.charba.client
package.Methods in org.pepstock.charba.client.commons with parameters of type ChartEnvelop Modifier and Type Method Description 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(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(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 fromorg.pepstock.charba.client
package. -
Uses of ChartEnvelop in org.pepstock.charba.client.configuration
Methods in org.pepstock.charba.client.configuration with parameters of type ChartEnvelop Modifier and Type Method 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. -
Uses of ChartEnvelop in org.pepstock.charba.client.data
Constructors in org.pepstock.charba.client.data with parameters of type ChartEnvelop Constructor Description Data(ChartEnvelop<IsChart> envelop)
Creates the object with an empty native object. -
Uses of ChartEnvelop in org.pepstock.charba.client.defaults.chart
Constructors in org.pepstock.charba.client.defaults.chart with parameters of type ChartEnvelop Constructor Description DefaultChartOptions(ChartEnvelop<ExtendedOptions> envelop)
Creates the default by an extended options instance, which represents the whole options of a chart. -
Uses of ChartEnvelop in org.pepstock.charba.client.intl
Methods in org.pepstock.charba.client.intl with parameters of type ChartEnvelop Modifier and Type Method Description void
NumberFormatOptions. load(ChartEnvelop<NativeObject> envelop)
Loads theNativeObject
in the envelop passed as argument.
This method is called fromHelpers.formatNumber(double, CLocale, NumberFormatOptions)
. -
Uses of ChartEnvelop in org.pepstock.charba.client.items
Constructors in org.pepstock.charba.client.items with parameters of type ChartEnvelop Constructor 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. -
Uses of ChartEnvelop in org.pepstock.charba.client.options
Constructors in org.pepstock.charba.client.options with parameters of type ChartEnvelop Constructor Description AnimationTransition(Key childKey, IsDefaultAnimationTransition defaultValues, ChartEnvelop<NativeObject> envelop, String scope)
Creates an animation transitions container for theUpdateConfiguration
.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 fromGlobalOptions
. -
Uses of ChartEnvelop in org.pepstock.charba.client.plugins
Methods in org.pepstock.charba.client.plugins with parameters of type ChartEnvelop Modifier and Type Method 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, seeGlobalOptions.getPlugins()
.Constructors in org.pepstock.charba.client.plugins with parameters of type ChartEnvelop Constructor Description GlobalPlugins(ChartEnvelop<NativeObject> envelop)
Builds the object by the native object which mapschart.registry.plugins
-
Uses of ChartEnvelop in org.pepstock.charba.client.resources
Methods in org.pepstock.charba.client.resources with parameters of type ChartEnvelop Modifier and Type Method 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, useDeferredCharba
.static <T extends AbstractResources>
voidResourcesType. setResources(ChartEnvelop<T> envelop)
Sets the resources type to use to inject java script code.
If the resources type was already set or if isnull
an exception will be throw.
This is deprecated, useCharba
.
-