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 the
AnnotationPlugin#ID plugin (AKA chartjs-plugin-annotation.js ) for CHART.js. |
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 the
DataLabelsPlugin.ID plugin (AKA chartjs-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 (AKA
chartjs-chart-geo.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 use
LabelsPlugin.ID plugin (AKA chartjs-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 (AKA
chartjs-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 the
ZoomPlugin.ID plugin (AKA chartjs-plugin-zoom.js ) for CHART.js. |
Modifier and Type | Method and 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. |
Modifier and Type | Method and 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 the
data property in the native object. |
void |
Configuration.setOptions(NativeObject options)
Sets the options of chart by the
options property in the native object. |
Constructor and Description |
---|
Chart(Context2dItem context,
NativeObject configuration)
Builds CHART object at CHART.JS level.
This constructor MUST be empty. |
Modifier and Type | Method and 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.
|
Constructor and Description |
---|
DateAdapterFormats(NativeObject nativeObject)
Creates the object with the native object to map java script properties.
|
Modifier and Type | Method and Description |
---|---|
AnnotationOptions |
AnnotationOptionsFactory.create(NativeObject nativeObject,
IsDefaultPlugins defaultValues) |
Modifier and Type | Method and Description |
---|---|
NativeObject |
ScriptableFunctions.ProxyNativeObjectCallback.call(NativeObject context)
Method of function to be called to provide a native object property.
|
Modifier and Type | Method and Description |
---|---|
double |
ScriptableFunctions.ProxyDoubleCallback.call(NativeObject context)
Method of function to be called to provide a double property.
|
boolean |
ScriptableFunctions.ProxyBooleanCallback.call(NativeObject context)
Method of function to be called to provide a boolean property.
|
int |
ScriptableFunctions.ProxyIntegerCallback.call(NativeObject context)
Method of function to be called to provide a integer property.
|
String |
ScriptableFunctions.ProxyStringCallback.call(NativeObject context)
Method of function to be called to provide a string property.
|
Object |
ScriptableFunctions.ProxyObjectCallback.call(NativeObject context)
Method of function to be called to provide a object property.
|
NativeObject |
ScriptableFunctions.ProxyNativeObjectCallback.call(NativeObject context)
Method of function to be called to provide a native object property.
|
Array |
ScriptableFunctions.ProxyArrayCallback.call(NativeObject context)
Method of function to be called to provide an array 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.JS
|
Constructor and 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 by
configuration package. |
TooltipContext(NativeObject nativeObject)
Creates the object with native object instance to be wrapped.
|
Modifier and Type | Method and 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
|
Modifier and Type | Method and 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 |
ArrayObjectList.get(int index)
Returns the element at the specified position in this list.
|
NativeObject |
ArrayObject.get(int index)
Gets the value at a given index.
|
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)
Copies
source properties (creating a new java script object and setting the source one with the property argument) in the target only
if not defined in target.target is not cloned and will be updated with source properties.The property is |
NativeObject |
Merger.merge(NativeObjectContainer target,
NativeObject source,
String property)
Copies
source properties (creating a new java script object and setting the source one with the property argument) in the target only
if not defined in target.target is not cloned and will be updated with source properties.The property is |
NativeObject |
Merger.merge(NativeObject target,
NativeObjectContainer source,
String property)
Copies
source properties (creating a new java script object and setting the source one with the property argument) in the target only
if not defined in target.target is not cloned and will be updated with source properties.The property is |
NativeObject |
Merger.merge(NativeObject target,
NativeObject source,
String property)
Copies
source properties (creating a new java script object and setting the source one with the property argument) in the target only
if not defined in target.target is not cloned and will be updated with source properties.The property is |
NativeObject |
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.
|
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. |
static List<NativeObject> |
ArrayListHelper.unmodifiableList(ArrayObject values)
Creates an unmodifiable array list of generic java script objects by a java script array.
|
Modifier and Type | Method and 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 list
|
void |
ArrayObjectList.addAll(NativeObject... values)
Loads an array of elements in the the list
|
boolean |
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)
Copies
source properties (creating a new java script object and setting the source one with the property argument) in the target only
if not defined in target.target is not cloned and will be updated with source properties.The property is |
NativeObject |
Merger.merge(NativeObject target,
NativeObjectContainer source,
String property)
Copies
source properties (creating a new java script object and setting the source one with the property argument) in the target only
if not defined in target.target is not cloned and will be updated with source properties.The property is |
NativeObject |
Merger.merge(NativeObject target,
NativeObject source,
String property)
Copies
source properties (creating a new java script object and setting the source one with the property argument) in the target only
if not defined in target.target is not cloned and will be updated with source properties.The property is |
NativeObject |
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 |
PropertyHandler.setValueAndAddToParent(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.
|
Modifier and Type | Method and 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 iterator
|
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<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. |
Constructor and 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.
|
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. |
Modifier and Type | Method and Description |
---|---|
BarBorderRadius |
BarBorderRadius.BarBorderRadiusFactory.create(NativeObject nativeObject) |
ArcBorderRadius |
ArcBorderRadius.ArcBorderRadiusFactory.create(NativeObject nativeObject) |
BarBorderWidth |
BarBorderWidth.BarBorderWidthFactory.create(NativeObject nativeObject) |
protected DatasetContext |
Dataset.createContext(NativeObject context)
Creates a data set context for callback.
|
Constructor and Description |
---|
AbstractDataPoint(NativeObject nativeObject)
Creates the object with a native object passed as argument.
|
Constructor and Description |
---|
DataPoint(ItemsEnvelop<NativeObject> envelop)
Creates the object with a native object passed as argument by and
BaseEnvelop .This is called by the DataItem . |
LabelsHandler(OptionsEnvelop<NativeObject> envelop)
Creates the utility using dataset native object.
This is callable only from options package. |
Modifier and Type | Method and Description |
---|---|
DataLabelsOptions |
DataLabelsOptionsFactory.create(NativeObject nativeObject,
IsDefaultPlugins defaultValues) |
Modifier and Type | Method and Description |
---|---|
NativeObject |
ChartEventContext.getObject()
Wraps the protected method to get the java script object in order to consume it.
|
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
BubbleMapDataPoint |
BubbleMapDataPoint.BubbleMapDataPointFactory.create(NativeObject nativeObject) |
ChoroplethDataPoint |
ChoroplethDataPoint.ChoroplethDataPointFactory.create(NativeObject nativeObject) |
Modifier and Type | Method and Description |
---|---|
ColorSchemesOptions |
ColorSchemesOptionsFactory.create(NativeObject nativeObject,
IsDefaultPlugins defaultValues) |
ChartPointerOptions |
ChartPointerOptionsFactory.create(NativeObject nativeObject,
IsDefaultPlugins defaultValues) |
HtmlLegendOptions |
HtmlLegendOptionsFactory.create(NativeObject nativeObject,
IsDefaultPlugins defaultValues) |
ChartBackgroundColorOptions |
ChartBackgroundColorOptionsFactory.create(NativeObject nativeObject,
IsDefaultPlugins defaultValues) |
DatasetsItemsSelectorOptions |
DatasetsItemsSelectorOptionsFactory.create(NativeObject nativeObject,
IsDefaultPlugins defaultValues) |
Modifier and Type | Method and Description |
---|---|
NumberFormatOptions |
NumberFormatOptions.NumberFormatOptionsFactory.create(NativeObject nativeObject) |
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,
IsDefaultNumberFormatOptions defaultValues)
Creates a number format options by a native object and a default values instance.
|
Modifier and Type | Method and Description |
---|---|
NativeObject |
TooltipLabelPointStyle.getObject()
Wraps the protected method to get the java script object in order to consume it.
|
NativeObject |
NumberFormatItem.nativeObject()
Returns the native object instance.
|
NativeObject |
TooltipLabelColor.nativeObject()
Wraps the protected method to get the java script object in order to consume it.
|
NativeObject |
FontItem.nativeObject()
Returns the native object instance.
|
NativeObject |
PaddingItem.nativeObject()
Returns the native object instance.
|
Modifier and Type | Method and Description |
---|---|
ScaleTickItem |
ScaleTickItem.ScaleTickItemFactory.create(NativeObject nativeObject) |
LegendItem |
LegendItem.LegendItemFactory.create(NativeObject nativeObject) |
TooltipLabelColor |
TooltipLabelColor.TooltipLabelColorFactory.create(NativeObject nativeObject) |
LegendLabelItem |
LegendLabelItem.LegendLabelItemFactory.create(NativeObject nativeObject) |
TooltipItem |
TooltipItem.TooltipItemFactory.create(NativeObject nativeObject) |
DatasetReference |
DatasetReference.DatasetReferenceItemFactory.create(NativeObject nativeObject) |
TooltipLabelPointStyle |
TooltipLabelPointStyle.TooltipLabelPointStyleFactory.create(NativeObject nativeObject) |
Constructor and Description |
---|
AnimationItem(ConfigurationEnvelop<NativeObject> envelop)
Creates the item using an envelop with native java script object which contains all properties.
It is called from configuration 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 (from
callbacks 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 (from
configuration 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.
|
Modifier and Type | Method and Description |
---|---|
LabelsOptions |
LabelsOptionsFactory.create(NativeObject nativeObject,
IsDefaultPlugins defaultValues) |
Modifier and Type | Method and Description |
---|---|
protected NativeObject |
AbstractPadding.getObject()
Returns the native object instance.
|
Constructor and Description |
---|
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(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.
|
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 by Defaults.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 by Scales . |
ScaledOptions(String scope,
IsDefaultScaledOptions defaultValues,
NativeObject nativeObject,
boolean createScales)
Creates the object only with default provider and native object.
|
Constructor and 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 the
UpdateConfiguration . |
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.
|
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 from data 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.
|
Modifier and Type | Method and 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.
|
Constructor and Description |
---|
AbstractPluginOptions(String pluginId,
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.
|
AbstractPluginOptions(String pluginId,
NativeObject nativeObject)
Creates new plugin options with plugin ID, using a native object instance.
|
Modifier and Type | Method and Description |
---|---|
SankeyDataPoint |
SankeyDataset.DataPointFactory.create(NativeObject nativeObject) |
Modifier and Type | Method and Description |
---|---|
static NativeObject |
JSON.parseForObject(String text)
Parses a JSON string, constructing the JavaScript value or object described by the string.
|
Modifier and Type | Method and 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
|
Modifier and Type | Method and Description |
---|---|
ZoomOptions |
ZoomOptionsFactory.create(NativeObject nativeObject,
IsDefaultPlugins defaultValues) |