Uses of Interface
org.pepstock.charba.client.commons.NativeObject
-
Packages that use NativeObject Package Description org.pepstock.charba.client Main package with all charts implementation, global classes and common interfaces.org.pepstock.charba.client.adapters Contains all classes to interact with date adapters implemented by CHART.JS to be abstract from date time java script library to use.org.pepstock.charba.client.annotation Contains all classes to activate theAnnotationPlugin.ID
plugin (AKAchartjs-plugin-annotation.js
) for CHART.js.org.pepstock.charba.client.annotation.elements Contains theAnnotationPlugin.ID
plugin elements interfaces to use in the callbacks and events.org.pepstock.charba.client.callbacks All callbacks interfaces to be implemented, also to use the scriptable options of CHART.JS.org.pepstock.charba.client.colors Contains the enumerations of HTML and GWT Material colors, to consume out-of-the-box, and utilities to create and manage own colors and classes to define gradients of patterns for charts.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.datalabels Contains all classes to activate theDataLabelsPlugin.ID
plugin (AKAchartjs-plugin-datalabels.js
) for CHART.js.org.pepstock.charba.client.events Contains all events to interact with chart instance.org.pepstock.charba.client.geo Contains all classes to activate the GEO controllers (AKAchartjs-chart-geo.js
) for CHART.js.org.pepstock.charba.client.gradient Contains all classes to activate theGradientPlugin.ID
plugin (AKAchartjs-plugin-gradient.js
) for CHART.js.org.pepstock.charba.client.impl.plugins Contains some plugins implementations, available out-of-the box.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.labels Contains all classes to useLabelsPlugin.ID
plugin (AKAchartjs-plugin-labels.js
) available for CHART.JS.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.sankey Contains all classes to activate the Sankey controller (AKAchartjs-chart-sankey.js
) for CHART.js.org.pepstock.charba.client.utils Contains some utilities to use in Charba, like HTML annotation builder, and other java script utilities useful for debugging.org.pepstock.charba.client.zoom Contains all classes to activate theZoomPlugin.ID
plugin (AKAchartjs-plugin-zoom.js
) for CHART.js. -
-
Uses of NativeObject in org.pepstock.charba.client
Methods in org.pepstock.charba.client that return NativeObject Modifier and Type Method Description NativeObject
Helpers. clone(NativeObject source)
Returns a deep copy of source without keeping references on objects and arrays.NativeObject
Helpers. mergeIf(NativeObject target, NativeObject source)
Recursively deep copies source properties in the target only if not defined in target.
IMPORTANT: target is not cloned and will be updated with source properties.Methods in org.pepstock.charba.client with parameters of type NativeObject Modifier and Type Method Description NativeObject
Helpers. clone(NativeObject source)
Returns a deep copy of source without keeping references on objects and arrays.NativeObject
Helpers. mergeIf(NativeObject target, NativeObject source)
Recursively deep copies source properties in the target only if not defined in target.
IMPORTANT: target is not cloned and will be updated with source properties.void
Configuration. setData(NativeObject data)
Sets the data of chart by thedata
property in the native object.void
Configuration. setOptions(NativeObject options)
Sets the options of chart by theoptions
property in the native object.Constructors in org.pepstock.charba.client with parameters of type NativeObject Constructor Description Chart(Context2dItem context, NativeObject configuration)
Builds CHART object at CHART.JS level.
This constructor MUST be empty. -
Uses of NativeObject in org.pepstock.charba.client.adapters
Methods in org.pepstock.charba.client.adapters with parameters of type NativeObject Modifier and Type Method Description DateAdapterOptions
DateAdapterOptions.DateAdaptersOptionsFactory. create(NativeObject nativeObject)
DateAdapterOptions
DateAdapterOptions.DateAdaptersOptionsFactory. create(NativeObject nativeObject, IsDefaultDateAdapterOptions defaultValues)
Creates a date adapter options by a native object and a default values instance.Constructors in org.pepstock.charba.client.adapters with parameters of type NativeObject Constructor Description DateAdapterFormats(NativeObject nativeObject)
Creates the object with the native object to map java script properties. -
Uses of NativeObject in org.pepstock.charba.client.annotation
Methods in org.pepstock.charba.client.annotation with parameters of type NativeObject Modifier and Type Method Description AnnotationOptions
AnnotationOptionsFactory. create(NativeObject nativeObject, IsDefaultPlugins defaultValues)
-
Uses of NativeObject in org.pepstock.charba.client.annotation.elements
Constructor parameters in org.pepstock.charba.client.annotation.elements with type arguments of type NativeObject Constructor Description AnnotationElement(AnnotationEnvelop<NativeObject> envelop)
Creates the item using an envelop of the native java script object which contains all properties. -
Uses of NativeObject in org.pepstock.charba.client.callbacks
Methods in org.pepstock.charba.client.callbacks that return NativeObject Modifier and Type Method Description NativeObject
ScriptableFunctions.ProxyNativeObjectCallback. call(NativeObject context)
Method of function to be called to provide a native object property.Methods in org.pepstock.charba.client.callbacks with parameters of type NativeObject Modifier and Type Method Description Array
ScriptableFunctions.ProxyArrayCallback. call(NativeObject context)
Method of function to be called to provide an array property.boolean
ScriptableFunctions.ProxyBooleanCallback. call(NativeObject context)
Method of function to be called to provide a boolean property.double
ScriptableFunctions.ProxyDoubleCallback. call(NativeObject context)
Method of function to be called to provide a double property.void
ScriptableFunctions.ProxyHandlerCallback. call(NativeObject context)
Method of function to be called to provide a scriptable options implementation with a context.void
ScriptableFunctions.ProxyHandlerEvent. call(NativeObject context, NativeObject event)
Method of function to be called to provide events generated by the chart canvas, by CHART.JSboolean
ScriptableFunctions.ProxyHandlerEventAndRedraw. call(NativeObject context, NativeObject event)
Method of function to be called to provide events generated by the chart canvas, by CHART.JSint
ScriptableFunctions.ProxyIntegerCallback. call(NativeObject context)
Method of function to be called to provide a integer property.NativeObject
ScriptableFunctions.ProxyNativeObjectCallback. call(NativeObject context)
Method of function to be called to provide a native object property.Object
ScriptableFunctions.ProxyObjectCallback. call(NativeObject context)
Method of function to be called to provide a object property.String
ScriptableFunctions.ProxyStringCallback. call(NativeObject context)
Method of function to be called to provide a string property.Constructors in org.pepstock.charba.client.callbacks with parameters of type NativeObject Constructor Description AbstractDatasetContext(NativeObject nativeObject)
Creates the object with native object instance to be wrapped.ChartContext(NativeObject nativeObject)
Creates the object with native object instance to be wrapped.DatasetContext(NativeObject nativeObject)
Creates the object with native object instance to be wrapped.ScaleContext(Axis axis, NativeObject nativeObject)
Creates the object with an envelop of the native object instance to be wrapped.SegmentContext(NativeObject nativeObject)
Creates the object with native object instance to be wrapped, called byconfiguration
package.TooltipContext(NativeObject nativeObject)
Creates the object with native object instance to be wrapped. -
Uses of NativeObject in org.pepstock.charba.client.colors
Methods in org.pepstock.charba.client.colors with parameters of type NativeObject Modifier and Type Method Description static Gradient
GradientBuilder. build(NativeObject nativeObject)
Creates a gradient, previously stored in the a native java script object.static Pattern
PatternBuilder. build(NativeObject nativeObject)
Creates a pattern, previously stored in the a native java script object -
Uses of NativeObject in org.pepstock.charba.client.commons
Methods in org.pepstock.charba.client.commons that return NativeObject Modifier and Type Method Description NativeObject
ArrayObject. find(ArrayObject.ArrayFindCallback callback)
Returns the value of the first element in the provided array that satisfies the provided testing function.
If no values satisfy the testing function, undefined is returned.NativeObject
ArrayObject. get(int index)
Gets the value at a given index.NativeObject
ArrayObjectList. get(int index)
Returns the element at the specified position in this list.protected NativeObject
NativeObjectContainer. getNativeObject()
Returns the native object instance.protected NativeObject
NativeObjectContainer. getValue(Key key)
Returns a value (JavaScript Object) in the embedded JavaScript object at specific property.NativeObject
Merger. merge(NativeObjectContainer target, NativeObjectContainer source, String property)
Copiessource
properties (creating a new java script object and setting thesource
one with the property argument) in thetarget
only if not defined in target.
target
is not cloned and will be updated withsource
properties.
The property isNativeObject
Merger. merge(NativeObjectContainer target, NativeObject source, String property)
Copiessource
properties (creating a new java script object and setting thesource
one with the property argument) in thetarget
only if not defined in target.
target
is not cloned and will be updated withsource
properties.
The property isNativeObject
Merger. merge(NativeObject target, NativeObjectContainer source, String property)
Copiessource
properties (creating a new java script object and setting thesource
one with the property argument) in thetarget
only if not defined in target.
target
is not cloned and will be updated withsource
properties.
The property isNativeObject
Merger. merge(NativeObject target, NativeObject source, String property)
Copiessource
properties (creating a new java script object and setting thesource
one with the property argument) in thetarget
only if not defined in target.
target
is not cloned and will be updated withsource
properties.
The property isNativeObject
ArrayObjectList. remove(int index)
Removes the element at the specified position in this list.
Shifts any subsequent elements to the left (subtracts one from their indices).NativeObject
ArrayObjectList. set(int index, NativeObject element)
Replaces the element at the specified position in this list with the specified element.Methods in org.pepstock.charba.client.commons that return types with arguments of type NativeObject 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.static List<NativeObject>
ArrayListHelper. unmodifiableList(ArrayObject values)
Creates an unmodifiable array list of generic java script objects by a java script array.Methods in org.pepstock.charba.client.commons with parameters of type NativeObject Modifier and Type Method Description void
ArrayObjectList. add(int index, NativeObject element)
Inserts the specified element at the specified position in this list.
Shifts the element currently at that position (if any) and any subsequent elements to the right (adds one to their indices).boolean
ArrayObjectList. add(NativeObject element)
Appends the specified element to the end of this listvoid
ArrayObjectList. addAll(NativeObject... values)
Loads an array of elements in the listboolean
ArrayObject.ArrayFilterCallback. call(NativeObject element, int index)
Method of function to be called to filter the array.boolean
ArrayObject.ArrayFindCallback. call(NativeObject element, int index)
Method of function to be called to find an element in the array.T
NativeObjectContainerFactory. create(NativeObject nativeObject)
Creates a native object container instance by a native object.static String
Id. get(NativeObject nativeObject)
Returns the property value from java script object.boolean
JsHelper. getBooleanProperty(Key key, NativeObject nativeObject)
Returns the property value from java script object, when it is stored as boolean.int
JsHelper. getIntegerProperty(Key key, NativeObject nativeObject)
Returns the property value from java script object, when it is stored as integer.String
JsHelper. getStringProperty(Key key, NativeObject nativeObject)
Returns the property value from java script object, when the ID is stored as string.NativeObject
Merger. merge(NativeObjectContainer target, NativeObject source, String property)
Copiessource
properties (creating a new java script object and setting thesource
one with the property argument) in thetarget
only if not defined in target.
target
is not cloned and will be updated withsource
properties.
The property isNativeObject
Merger. merge(NativeObject target, NativeObjectContainer source, String property)
Copiessource
properties (creating a new java script object and setting thesource
one with the property argument) in thetarget
only if not defined in target.
target
is not cloned and will be updated withsource
properties.
The property isNativeObject
Merger. merge(NativeObject target, NativeObject source, String property)
Copiessource
properties (creating a new java script object and setting thesource
one with the property argument) in thetarget
only if not defined in target.
target
is not cloned and will be updated withsource
properties.
The property isNativeObject
ArrayObjectList. set(int index, NativeObject element)
Replaces the element at the specified position in this list with the specified element.protected void
NativeObjectContainer. setValue(Key key, NativeObject value)
Sets a value (JavaScript Object) in the embedded JavaScript object at specific property.protected void
AbstractNode. setValueAndAddToParent(Key key, NativeObject value)
Sets a value (JavaScript Object) in the embedded JavaScript object at specific property.protected void
PropertyHandler. setValueAndAddToParent(Key key, NativeObject value)
Sets a value (JavaScript Object) in the embedded JavaScript object at specific property.Method parameters in org.pepstock.charba.client.commons with type arguments of type NativeObject Modifier and Type Method Description boolean
ArrayObjectList. addAll(Collection<? extends NativeObject> collection)
Appends all of the elements in the specified collection to the end of this list, in the order that they are returned by the specified collection's iteratorvoid
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<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.Constructors in org.pepstock.charba.client.commons with parameters of type NativeObject Constructor Description AbstractNode(AbstractNode parent, Key childKey, NativeObject nativeObject)
Creates the object with the parent, the key of this element, default values and native object to map java script properties.AbstractNode(NativeObject nativeObject)
Creates the object with native object to map java script properties.
This is used for the root of tree composed by native objects.AbstractPoint(NativeObject nativeObject)
Creates the object with native object instance to be wrapped.AbstractReadOnlyPoint(NativeObject nativeObject)
Creates the object with native object instance to be wrapped.NativeObjectContainer(NativeObject nativeObject)
Creates the object with native object instance to be wrapped.PropertyHandler(AbstractNode parent, D defaultValues, NativeObject nativeObject)
Creates a native object where one or more properties must be managed, cross classes and package. -
Uses of NativeObject in org.pepstock.charba.client.configuration
Method parameters in org.pepstock.charba.client.configuration with type arguments of type NativeObject 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 NativeObject in org.pepstock.charba.client.data
Methods in org.pepstock.charba.client.data with parameters of type NativeObject Modifier and Type Method Description ArcBorderRadius
ArcBorderRadius.ArcBorderRadiusFactory. create(NativeObject nativeObject)
BarBorderRadius
BarBorderRadius.BarBorderRadiusFactory. create(NativeObject nativeObject)
BarBorderWidth
BarBorderWidth.BarBorderWidthFactory. create(NativeObject nativeObject)
protected DatasetContext
Dataset. createContext(NativeObject context)
Creates a data set context for callback.Constructors in org.pepstock.charba.client.data with parameters of type NativeObject Constructor Description AbstractDataPoint(NativeObject nativeObject)
Creates the object with a native object passed as argument.AbstractXYDataPoint(NativeObject nativeObject)
Creates the object with a native object passed as argument.Constructor parameters in org.pepstock.charba.client.data with type arguments of type NativeObject Constructor Description DataPoint(ItemsEnvelop<NativeObject> envelop)
Creates the object with a native object passed as argument by andBaseEnvelop
.
This is called by theDataItem
.LabelsHandler(OptionsEnvelop<NativeObject> envelop)
Creates the utility using dataset native object.
This is callable only fromoptions
package. -
Uses of NativeObject in org.pepstock.charba.client.datalabels
Methods in org.pepstock.charba.client.datalabels with parameters of type NativeObject Modifier and Type Method Description DataLabelsOptions
DataLabelsOptionsFactory. create(NativeObject nativeObject, IsDefaultPlugins defaultValues)
-
Uses of NativeObject in org.pepstock.charba.client.events
Methods in org.pepstock.charba.client.events that return NativeObject Modifier and Type Method Description NativeObject
ChartEventContext. getObject()
Wraps the protected method to get the java script object in order to consume it.Constructor parameters in org.pepstock.charba.client.events with type arguments of type NativeObject Constructor Description ChartEventContext(AnnotationEnvelop<NativeObject> envelop)
Creates the object with envelop envelop with the native object instance to be wrapped.ChartEventContext(ConfigurationEnvelop<NativeObject> envelop)
Creates the object with envelop envelop with the native object instance to be wrapped.ChartEventContext(DataLabelsEnvelop<NativeObject> envelop)
Creates the object with envelop envelop with the native object instance to be wrapped.ChartEventContext(ItemsEnvelop<NativeObject> envelop)
Creates the object with envelop envelop with the native object instance to be wrapped. -
Uses of NativeObject in org.pepstock.charba.client.geo
Methods in org.pepstock.charba.client.geo with parameters of type NativeObject Modifier and Type Method Description BubbleMapDataPoint
BubbleMapDataPoint.BubbleMapDataPointFactory. create(NativeObject nativeObject)
ChoroplethDataPoint
ChoroplethDataPoint.ChoroplethDataPointFactory. create(NativeObject nativeObject)
-
Uses of NativeObject in org.pepstock.charba.client.gradient
Methods in org.pepstock.charba.client.gradient with parameters of type NativeObject Modifier and Type Method Description GradientOptions
GradientOptionsFactory. create(NativeObject nativeObject, IsDefaultPlugins defaultValues)
-
Uses of NativeObject in org.pepstock.charba.client.impl.plugins
Methods in org.pepstock.charba.client.impl.plugins with parameters of type NativeObject Modifier and Type Method Description ChartBackgroundColorOptions
ChartBackgroundColorOptionsFactory. create(NativeObject nativeObject, IsDefaultPlugins defaultValues)
ChartPointerOptions
ChartPointerOptionsFactory. create(NativeObject nativeObject, IsDefaultPlugins defaultValues)
ColorSchemesOptions
ColorSchemesOptionsFactory. create(NativeObject nativeObject, IsDefaultPlugins defaultValues)
CrosshairOptions
CrosshairOptionsFactory. create(NativeObject nativeObject, IsDefaultPlugins defaultValues)
DatasetsItemsSelectorOptions
DatasetsItemsSelectorOptionsFactory. create(NativeObject nativeObject, IsDefaultPlugins defaultValues)
HtmlLegendOptions
HtmlLegendOptionsFactory. create(NativeObject nativeObject, IsDefaultPlugins defaultValues)
-
Uses of NativeObject in org.pepstock.charba.client.intl
Methods in org.pepstock.charba.client.intl with parameters of type NativeObject Modifier and Type Method Description DateTimeFormatOptions
DateTimeFormatOptions.DateTimeFormatOptionsFactory. create(NativeObject nativeObject)
DateTimeFormatOptions
DateTimeFormatOptions.DateTimeFormatOptionsFactory. create(NativeObject nativeObject, IsDefaultDateTimeFormatOptions defaultValues)
Creates a date time format options by a native object and a default values instance.NumberFormatOptions
NumberFormatOptions.NumberFormatOptionsFactory. create(NativeObject nativeObject)
NumberFormatOptions
NumberFormatOptions.NumberFormatOptionsFactory. create(NativeObject nativeObject, IsDefaultNumberFormatOptions defaultValues)
Creates a number format options by a native object and a default values instance.Method parameters in org.pepstock.charba.client.intl with type arguments of type NativeObject 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 NativeObject in org.pepstock.charba.client.items
Methods in org.pepstock.charba.client.items that return NativeObject Modifier and Type Method Description NativeObject
TooltipLabelPointStyle. getObject()
Wraps the protected method to get the java script object in order to consume it.NativeObject
FontItem. nativeObject()
Returns the native object instance.NativeObject
InteractionItem. nativeObject()
Returns the native object instance.NativeObject
NumberFormatItem. nativeObject()
Returns the native object instance.NativeObject
PaddingItem. nativeObject()
Returns the native object instance.NativeObject
TooltipLabelColor. nativeObject()
Wraps the protected method to get the java script object in order to consume it.Methods in org.pepstock.charba.client.items with parameters of type NativeObject Modifier and Type Method Description DatasetReference
DatasetReference.DatasetReferenceItemFactory. create(NativeObject nativeObject)
LegendItem
LegendItem.LegendItemFactory. create(NativeObject nativeObject)
LegendLabelItem
LegendLabelItem.LegendLabelItemFactory. create(NativeObject nativeObject)
ScaleTickItem
ScaleTickItem.ScaleTickItemFactory. create(NativeObject nativeObject)
TooltipItem
TooltipItem.TooltipItemFactory. create(NativeObject nativeObject)
TooltipLabelColor
TooltipLabelColor.TooltipLabelColorFactory. create(NativeObject nativeObject)
TooltipLabelPointStyle
TooltipLabelPointStyle.TooltipLabelPointStyleFactory. create(NativeObject nativeObject)
Constructor parameters in org.pepstock.charba.client.items with type arguments of type NativeObject Constructor Description AnimationItem(ConfigurationEnvelop<NativeObject> envelop)
Creates the item using an envelop with native java script object which contains all properties.
It is called fromconfiguration
package.AxisItem(ConfigurationEnvelop<NativeObject> envelop)
Creates the item using an envelop of native java script object which contains all properties.ChartAreaNode(ChartEnvelop<NativeObject> envelop)
Creates the item using envelop with the native java script object which contains all properties.DatasetElement(CallbacksEnvelop<NativeObject> envelop)
Creates the item using an envelop of 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.DatasetPoint(CallbacksEnvelop<NativeObject> envelop)
Creates the object with a native object passed as argument.LegendNode(ChartEnvelop<NativeObject> envelop)
Creates the item using an envelop with the native java script object which contains all properties.LegendTextHandler(AbstractNode parent, OptionsEnvelop<NativeObject> envelop)
Creates a legend text handler with the envelop of the native object where TEXT property must be managed.OptionsNode(String chartId, IsDefaultScaledOptions defaultValues, ChartEnvelop<NativeObject> envelop)
Creates the item using an envelop with the native java script object which contains all properties.PluginDatasetArgument(PluginsEnvelop<NativeObject> envelop)
Creates the item using an envelop of the native java script object which contains all properties.PluginEventArgument(PluginsEnvelop<NativeObject> envelop)
Creates the item using an envelop of the native java script object which contains all properties.PluginResizeArgument(PluginsEnvelop<NativeObject> envelop)
Creates the item using an envelop of the native java script object which contains all properties.PluginScaleArgument(PluginsEnvelop<NativeObject> envelop)
Creates the item using an envelop of the native java script object which contains all properties.PluginTooltipArgument(PluginsEnvelop<NativeObject> envelop)
Creates the item using an envelop of the native java script object which contains all properties.PluginUpdateArgument(PluginsEnvelop<NativeObject> envelop)
Creates the item using an envelop of the native java script object which contains all properties.ScaleItem(CallbacksEnvelop<NativeObject> envelop)
Creates the item using an envelop (fromcallbacks
package) of 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.SizeItem(ConfigurationEnvelop<NativeObject> envelop)
Creates the item using an envelop (fromconfiguration
package) of 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.TooltipModel(CallbacksEnvelop<NativeObject> envelop)
Creates the item using envelop with the native java script object which contains all properties.TooltipModel(ConfigurationEnvelop<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 NativeObject in org.pepstock.charba.client.labels
Methods in org.pepstock.charba.client.labels with parameters of type NativeObject Modifier and Type Method Description LabelsOptions
LabelsOptionsFactory. create(NativeObject nativeObject, IsDefaultPlugins defaultValues)
-
Uses of NativeObject in org.pepstock.charba.client.options
Methods in org.pepstock.charba.client.options that return NativeObject Modifier and Type Method Description protected NativeObject
AbstractPadding. getObject()
Returns the native object instance.Constructors in org.pepstock.charba.client.options with parameters of type NativeObject Constructor Description AbstractFont(AbstractNode parent, IsDefaultFont defaultValues, NativeObject nativeObject)
Creates a font to use for chart configuration, wrapping a native object instance.AbstractFont(IsDefaultFont defaultValues, NativeObject nativeObject)
Creates a font to use for chart configuration, wrapping a native object instance.AbstractImmutableFont(NativeObject nativeObject)
Creates a immutable font to use, wrapping a native object instance, and providing a CSS string.AbstractNumberFormat(IsDefaultNumberFormatOptions defaultValues, NativeObject nativeObject)
Creates a number format to use for chart configuration, wrapping a native object instance.AbstractPadding(AbstractNode parent, IsDefaultPadding defaultValues, NativeObject nativeObject)
Creates a padding to use for chart configuration, wrapping a native object instance.AbstractPadding(IsDefaultPadding defaultValues, NativeObject nativeObject)
Creates a padding to use for chart configuration, wrapping a native object instance.AbstractScale(IsDefaultScale defaultValues, NativeObject nativeObject)
Creates the object only with default provider and native object.AbstractScriptableFont(IsScriptableFontProvider<T> scriptableFontProvider, IsDefaultFont defaultValues, NativeObject nativeObject)
Creates a font to use for chart configuration, wrapping a native object instance.AbstractScriptablePadding(IsScriptablePaddingProvider<T> scriptablePaddingProvider, IsDefaultPadding defaultValues, NativeObject nativeObject)
Creates a padding to use for chart configuration, wrapping a native object instance.Arc(Elements elements, Key childKey, IsDefaultArc defaultValues, NativeObject nativeObject)
Creates the object with the parent, the key of this element, default values and native object to map java script properties.Bar(Elements elements, Key childKey, IsDefaultBar defaultValues, NativeObject nativeObject)
Creates the object with the parent, the key of this element, default values and native object to map java script properties.FontContainer(AbstractNode parent, IsDefaultFontContainer defaultValues, NativeObject nativeObject)
Creates a font container with the native object where font properties must be managed and the default value to use when the property does not exist.Line(Elements elements, Key childKey, IsDefaultLine defaultValues, NativeObject nativeObject)
Creates the object with the parent, the key of this element, default values and native object to map java script properties.Options(String scope, IsDefaultOptions defaultValues, NativeObject nativeObject)
Creates the object only with default provider and native object.Point(Elements elements, Key childKey, IsDefaultPoint defaultValues, NativeObject nativeObject)
Creates the object with the parent, the key of this element, default values and native object to map java script properties.PointStyleHandler(AbstractNode parent, IsDefaultPointStyleHandler defaultValues, NativeObject nativeObject)
Creates a point style handler with the native object where POINTSTYLE property must be managed and the default value to use when the property does not exist.Scale(AxisType type, IsDefaultScale defaultValues, NativeObject nativeObject)
Creates the object only with aixs type, default provider and native object.
This is used when the default scale is read byDefaults.getScale(AxisType)
.Scale(IsDefaultScale defaultValues, NativeObject nativeObject)
Creates the object only with default provider and native object.
This is used when the scale is read byScales
.ScaledOptions(String scope, IsDefaultScaledOptions defaultValues, NativeObject nativeObject, boolean createScales)
Creates the object only with default provider and native object.Constructor parameters in org.pepstock.charba.client.options with type arguments of type NativeObject Constructor Description AnimationContainer(IsDefaultAnimationContainer defaultValues, DataEnvelop<NativeObject> envelop, String scope)
Creates an animation container with the envelop of the native object where animations properties must be managed.AnimationTransition(Key childKey, IsDefaultAnimationTransition defaultValues, ChartEnvelop<NativeObject> envelop, String scope)
Creates an animation transitions container for theUpdateConfiguration
.BarDatasetOptionsHandler(AbstractNode parent, IsDefaultTypedDataset defaultValues, DataEnvelop<NativeObject> envelop)
Creates an bar options handler with an envelop of the native object where properties must be managed and the default value to use when the property does not exist.EventsOptionHandler(AbstractNode parent, IsDefaultEventHandler defaultValues, PluginsEnvelop<NativeObject> envelop)
Creates a native object where one or more properties must be managed, cross classes and package.ExtendedOptions(IsChart chart, IsDefaultScaledOptions defaultValues, ChartEnvelop<NativeObject> envelop)
Creates an options with default provider.ExtendedOptions(IsChart chart, IsDefaultScaledOptions defaultValues, ConfigurationEnvelop<NativeObject> envelop)
Creates an options with default provider.FillHandler(AbstractNode parent, IsFill defaultValues, DataEnvelop<NativeObject> envelop)
Creates a fill handler with the native object where FILL property must be managed and the default value to use when the property does not exist.
This is called fromdata
package.SpanGapHandler(AbstractNode parent, IsDefaultOptions defaultValues, DataEnvelop<NativeObject> envelop)
Creates a span gap handler with the envelop of the native object where SPANGAPS property must be managed and the default value to use when the property does not exist. -
Uses of NativeObject in org.pepstock.charba.client.plugins
Methods in org.pepstock.charba.client.plugins with parameters of type NativeObject Modifier and Type Method Description abstract T
AbstractPluginOptionsFactory. create(NativeObject nativeObject, IsDefaultPlugins defaultValues)
Creates a plugin options by a native object which is containing the options values and its defaults.Constructors in org.pepstock.charba.client.plugins with parameters of type NativeObject Constructor Description AbstractPluginOptions(String pluginId, AbstractNode parent, Key childKey, NativeObject nativeObject, boolean createUniqueId)
Creates the object with the parent, the key of this element, default values and native object to map java script properties.AbstractPluginOptions(String pluginId, NativeObject nativeObject)
Creates new plugin options with plugin ID, using a native object instance.AbstractPluginOptions(String pluginId, NativeObject nativeObject, boolean createUniqueId)
Creates new plugin options with plugin ID, using a native object instance and setting if a unique id must calculatedConstructor parameters in org.pepstock.charba.client.plugins with type arguments of type NativeObject Constructor Description GlobalPlugins(ChartEnvelop<NativeObject> envelop)
Builds the object by the native object which mapschart.registry.plugins
-
Uses of NativeObject in org.pepstock.charba.client.sankey
Methods in org.pepstock.charba.client.sankey with parameters of type NativeObject Modifier and Type Method Description SankeyDataPoint
SankeyDataset.DataPointFactory. create(NativeObject nativeObject)
-
Uses of NativeObject in org.pepstock.charba.client.utils
Methods in org.pepstock.charba.client.utils that return NativeObject Modifier and Type Method Description static NativeObject
JSON. parseForObject(String text)
Parses a JSON string, constructing the JavaScript value or object described by the string.Methods in org.pepstock.charba.client.utils with parameters of type NativeObject Modifier and Type Method Description static String
JSON. stringifyNativeObject(NativeObject obj, int spaces)
Converts a JavaScript object or value to a JSON string, using a specific replacer to avoid to print internal keys of CHART.js -
Uses of NativeObject in org.pepstock.charba.client.zoom
Methods in org.pepstock.charba.client.zoom with parameters of type NativeObject Modifier and Type Method Description ZoomOptions
ZoomOptionsFactory. create(NativeObject nativeObject, IsDefaultPlugins defaultValues)
-