Package | Description |
---|---|
org.pepstock.charba.client |
Main package with all charts implementation, global classes and common interfaces.
|
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.annotation.enums |
Contains all enumerations to configure the
AnnotationPlugin.ID plugin. |
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.colors.tiles |
Contains all classes to build tiles to use in the a canvas patterns or a Charba pattern.
|
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.controllers |
Contains all classes to manage the implementations of controllers.
|
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.datalabels.enums |
Contains all enumerations to configure the
DataLabelsPlugin.ID plugin. |
org.pepstock.charba.client.dom.enums |
Contains enumerations used inside the DOM tree to set properties or invokes methods of elements or items.
|
org.pepstock.charba.client.enums |
Contains all enumerations of some chart options where only a specific set of values can be set.
|
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.geo.enums |
Contains all enumerations to configure the GEO controllers.
|
org.pepstock.charba.client.impl.plugins |
Contains some plugins implementations, available out-of-the box.
|
org.pepstock.charba.client.impl.plugins.enums |
Contains the enumeration items to configure out of the box CHARBA plugins.
|
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.intl.enums |
Contains enumerations to use in order to configure the ECMAScript Internationalization API options.
|
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.positioner |
Contains all classes to implement a custom tooltip positioner 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. |
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.sankey.enums |
Contains all enumerations to configure the SANKEY controllers.
|
org.pepstock.charba.client.treemap |
Contains all classes to activate the TreeMap controller (AKA
chartjs-chart-treemap.js ) for CHART.js. |
org.pepstock.charba.client.utils.toast |
Contains all classes to use
Toaster utility. |
org.pepstock.charba.client.utils.toast.enums |
Contains all enumerations to configure the TOAST utility.
|
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 | Interface and Description |
---|---|
interface |
Type
Interface to map the type and scale type of a chart.
|
Modifier and Type | Class and Description |
---|---|
class |
ChartType
Enumerates all out-of-the-box types of a chart.
|
Modifier and Type | Interface and Description |
---|---|
interface |
AnnotationId
Represents the annotation id of a annotation configuration object in the
AnnotationPlugin.ID plugin. |
Modifier and Type | Class and Description |
---|---|
class |
AnnotationType
Defines the type of annotation.
|
Modifier and Type | Class and Description |
---|---|
class |
DrawTime
Defines when the annotations are drawn.
This allows positioning of the annotation relative to the other elements of the graph. |
class |
Event
Mouse events to enable on each annotation.
|
class |
LabelPosition
Property to set the position's line label to its normal position.
|
Modifier and Type | Method and Description |
---|---|
static <T extends Key,C extends ChartContext> |
ScriptableUtils.getOptionValueAsString(C context,
Scriptable<T,C> callback)
Returns the enumeration value as value of the property by invoking a callback which is typed to a key.
|
static <T extends Key,C extends ChartContext> |
ScriptableUtils.getOptionValueAsString(C context,
Scriptable<T,C> callback,
T defaultValue)
Returns the enumeration value of the property by invoking a callback which is typed to a key, passing a default value.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
ScaleContext.checkIfPropertyIsValid(Key property) |
protected boolean |
ChartContext.checkIfPropertyIsValid(Key property)
Checks if the key passed as argument is a key already used for other context properties.
|
protected boolean |
SegmentContext.checkIfPropertyIsValid(Key property) |
protected boolean |
AbstractDatasetContext.checkIfPropertyIsValid(Key property) |
protected boolean |
TooltipContext.checkIfPropertyIsValid(Key property) |
boolean |
ChartContext.getAttribute(Key key,
boolean defaultValue)
Returns a custom field value from data point.
|
double |
ChartContext.getAttribute(Key key,
double defaultValue)
Returns a custom field value from data point.
|
int |
ChartContext.getAttribute(Key key,
int defaultValue)
Returns a custom field value from data point.
|
String |
ChartContext.getAttribute(Key key,
String defaultValue)
Returns a custom field value from data point.
|
void |
ChartContext.setAttribute(Key key,
boolean value)
Sets a custom field to data point.
|
void |
ChartContext.setAttribute(Key key,
double value)
Sets a custom field to data point.
|
void |
ChartContext.setAttribute(Key key,
int value)
Sets a custom field to data point.
|
void |
ChartContext.setAttribute(Key key,
String value)
Sets a custom field to data point.
|
Modifier and Type | Class and Description |
---|---|
class |
GradientOrientation
Represents the gradient orientation for gradient.
Every orientation contains also on which gradient type can be applied. |
class |
GradientScope
A gradient needs to have coordinates and/or radius to be created.
The dimension to create a gradient are decided by Charba, automatically based on canvas or chart area element. |
class |
GradientType
A gradient must have a type.
The possible types are: LINEAR RADIAL |
Modifier and Type | Method and Description |
---|---|
Key |
CanvasObjectFactory.getScope()
Returns the scope of this factory.
|
Constructor and Description |
---|
CanvasObjectFactory(Key scope)
Creates the object using the scope of this factory.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IsShape
Defines a shape to draw on the tile.
|
Modifier and Type | Class and Description |
---|---|
class |
CharacterShape
This is a shape which can draw a character on the tile.
This object is also a shape drawer. The font size is calculated automatically based on tile size. It designs a char in the the following tile sections (A and B): |
class |
ImageShape
This is a shape which can draw an image on the tile.
This object is also a shape drawer. The image is scaled to the size of the tile. |
class |
Shape
Enumerates all available shapes applicable onto a tile.
|
Modifier and Type | Class and Description |
---|---|
class |
ArrayEnumList<E extends Key>
The user of this interface has precise control over where in the list each element is inserted.
|
class |
ArrayKeyList<E extends Key>
The user of this interface has precise control over where in the list each element is inserted.
|
class |
ArrayKeySet<E extends Key>
A collection that contains no duplicate elements.
More formally, sets contain no pair of elements e1 and e2 such that e1.equals(e2) , and at most one null element. |
interface |
KeyFactory<T extends Key>
Interface to be implemented to load keys from an array of native object.
|
Modifier and Type | Interface and Description |
---|---|
interface |
PropertyKey
Represents the key of property of a java-script object.
|
Modifier and Type | Class and Description |
---|---|
class |
Id
Enums the property ID used by CHARBA to identify the chart.
|
class |
StandardKey
This is a standard implementation of a key of property inside a Java script object.
The standard is the key name is a String. |
Modifier and Type | Method and Description |
---|---|
static <T extends Key> |
Key.checkAndGetIfValid(T key)
Checks if key passed as argument is not
null and its value is not null as well.If not, throw a IllegalArgumentException , otherwise it returns the key. |
static <T extends Key> |
ArrayString.fromOrEmpty(Set<T> items)
Creates a java script array of strings starting from set of keys.
|
static <T extends Key> |
ArrayString.fromOrNull(Set<T> items)
Creates a java script array of strings starting from set of keys.
|
static <T extends Key> |
Key.getKeyByValue(T[] enumValues,
String value)
Returns a key in the an enumeration by the value.
|
static <T extends Key> |
Key.getKeyByValue(T[] enumValues,
String value,
T defaultKey)
Returns a key in the an enumeration by the value, or the default key passed as argument.
|
protected <T extends Key> |
NativeObjectContainer.getValue(Key key,
T[] enumValues,
T defaultValue)
Returns a value (key) in the embedded JavaScript object at specific property.
|
static <T extends Key> |
Key.hasKeyByValue(T[] enumValues,
String value)
Returns
true if a key in the an enumeration is related to the value, otherwise false . |
static <E extends Key> |
ArrayListHelper.keys(ArrayString array,
KeyFactory<E> factory)
Creates a array list of
Key values by an java script array of strings. |
static <E extends Key> |
ArrayListHelper.list(E[] enumValues,
ArrayString array)
Creates a array list of enumeration values by an java script array of strings.
|
static <E extends Key> |
ArrayListHelper.list(E[] enumValues,
E[] values)
Creates a array list of enumeration values (instance of
Key ). |
static <E extends Key> |
ArraySetHelper.set(ArrayString array,
KeyFactory<E> factory)
Creates a array set of
Key values by an java script array of strings. |
protected <T extends Key> |
NativeObjectContainer.setValue(Key key,
T value)
Sets a value (EnumValue) in the embedded JavaScript object at specific property.
|
protected <T extends Key> |
PropertyHandler.setValueAndAddToParent(Key key,
T value)
Sets a value (EnumValue) in the embedded JavaScript object at specific property.
|
protected <T extends Key> |
AbstractNode.setValueAndAddToParent(Key key,
T value)
Sets a value (EnumValue) in the embedded JavaScript object at specific property.
|
static <E extends Key> |
ArrayListHelper.unmodifiableKeys(ArrayString array,
KeyFactory<E> factory)
Creates a unmodifiable array list of
Key values by an java script array of strings. |
static <E extends Key> |
ArrayListHelper.unmodifiableList(E[] enumValues,
ArrayString array)
Creates an unmodifiable array list of enumeration values by an java script array of strings.
|
static <E extends Key> |
ArrayListHelper.unmodifiableList(E[] enumValues,
E[] values)
Creates an unmodifiable array list of enumeration values (instance of
Key ). |
static <E extends Key> |
ArraySetHelper.unmodifiableSet(ArrayString array,
KeyFactory<E> factory)
Creates an unmodifiable array set of
Key values by an java script array of strings. |
Modifier and Type | Method and Description |
---|---|
static Key |
Key.create(String key)
Returns a key instance by its string value.
|
protected Key |
AbstractNode.getChildKey()
Returns the property name to use to add this element to its parent.
|
Key |
CallbackPropertyHandler.getHashCodeProperty()
Returns the property key used to store the class name plus hash code, as key of callback instance in the cache.
|
Key |
CallbackPropertyHandler.getProperty()
Returns the property key to manage
|
Modifier and Type | Method and Description |
---|---|
protected List<Key> |
NativeObjectContainer.keys()
Returns the list of properties names of the object.
|
Modifier and Type | Method and Description |
---|---|
void |
ArrayKeyList.addAll(E[] values)
Loads an array of elements in the the list
|
void |
ArrayEnumList.addAll(E[] values)
Loads an array of elements in the the list
|
static void |
Key.checkIfValid(Key key)
Checks if key passed as argument is not
null and its value is not null as well.If not, throw a IllegalArgumentException . |
static int |
Key.compare(Key k1,
Key k2)
Compares the two specified key values.
|
static boolean |
Key.equals(Key k1,
Key k2)
Returns
true if the keys have got the same value. |
static ArrayString |
ArrayString.fromOrEmpty(boolean asSet,
Key... items)
Creates a java script array of strings starting from array of keys.
|
static ArrayString |
ArrayString.fromOrEmpty(Key... items)
Creates a java script array of strings starting from array of keys.
|
static ArrayString |
ArrayString.fromOrNull(boolean asSet,
Key... items)
Creates a java script array of strings starting from array of keys.
|
static ArrayString |
ArrayString.fromOrNull(Key... items)
Creates a java script array of strings starting from array of keys.
|
protected <T extends Array> |
NativeObjectContainer.getArrayValue(Key key)
Returns a value (array) in the embedded JavaScript object at specific property.
|
boolean |
JsHelper.getBooleanProperty(Key key,
NativeObject nativeObject)
Returns the property value from java script object, when it is stored as boolean.
|
protected BaseHtmlElement |
NativeObjectContainer.getElement(Key key)
Returns a value (BaseHtmlElement) in the embedded JavaScript object at specific property.
|
int |
JsHelper.getIntegerProperty(Key key,
NativeObject nativeObject)
Returns the property value from java script object, when it is stored as integer.
|
static <T extends Key> |
Key.getKeyByValue(T[] enumValues,
String value)
Returns a key in the an enumeration by the value.
|
static <T extends Key> |
Key.getKeyByValue(T[] enumValues,
String value,
T defaultKey)
Returns a key in the an enumeration by the value, or the default key passed as argument.
|
protected Chart |
NativeObjectContainer.getNativeChart(Key key)
Returns a value (chart) in the embedded JavaScript object at specific property.
|
protected BaseNativeEvent |
NativeObjectContainer.getNativeEvent(Key key)
Returns a value (native event) in the embedded JavaScript object at specific property.
|
String |
JsHelper.getStringProperty(Key key,
NativeObject nativeObject)
Returns the property value from java script object, when the ID is stored as string.
|
protected NativeObject |
NativeObjectContainer.getValue(Key key)
Returns a value (JavaScript Object) in the embedded JavaScript object at specific property.
|
protected boolean |
NativeObjectContainer.getValue(Key key,
boolean defaultValue)
Returns a value (boolean) in the embedded JavaScript object at specific property.
|
protected Canvas |
NativeObjectContainer.getValue(Key key,
Canvas defaultValue)
Returns a value (canvas) in the embedded JavaScript object at specific property.
|
protected CanvasGradientItem |
NativeObjectContainer.getValue(Key key,
CanvasGradientItem defaultValue)
Returns a value (gradient) in the embedded JavaScript object at specific property.
|
protected CanvasPatternItem |
NativeObjectContainer.getValue(Key key,
CanvasPatternItem defaultValue)
Returns a value (pattern) in the embedded JavaScript object at specific property.
|
protected Date |
NativeObjectContainer.getValue(Key key,
Date defaultValue)
Returns a value (date) in the embedded JavaScript object at specific property.
|
protected double |
NativeObjectContainer.getValue(Key key,
double defaultValue)
Returns a value (double) in the embedded JavaScript object at specific property.
|
protected Img |
NativeObjectContainer.getValue(Key key,
Img defaultValue)
Returns a value (image) in the embedded JavaScript object at specific property.
|
protected int |
NativeObjectContainer.getValue(Key key,
int defaultValue)
Returns a value (int) in the embedded JavaScript object at specific property.
|
protected String |
NativeObjectContainer.getValue(Key key,
Key defaultValue)
Returns a value (string) in the embedded JavaScript object at specific property.
|
protected ScaleId |
NativeObjectContainer.getValue(Key key,
ScaleId defaultValue)
Returns a value (ScaleId) in the embedded JavaScript object at specific property.
|
protected String |
NativeObjectContainer.getValue(Key key,
String defaultValue)
Returns a value (string) in the embedded JavaScript object at specific property.
|
protected <T extends Key> |
NativeObjectContainer.getValue(Key key,
T[] enumValues,
T defaultValue)
Returns a value (key) in the embedded JavaScript object at specific property.
|
protected <T extends Key> |
NativeObjectContainer.getValue(Key key,
T[] enumValues,
T defaultValue)
Returns a value (key) in the embedded JavaScript object at specific property.
|
protected Date |
NativeObjectContainer.getValueForMultipleKeyTypes(Key key,
Date defaultsValue)
Returns the value of a property checking if the type of current value is a OBJECT (as a date).
|
protected double |
NativeObjectContainer.getValueForMultipleKeyTypes(Key key,
double defaultsValue)
Returns the value of a property checking if the type of current value is a NUMBER.
|
protected String |
NativeObjectContainer.getValueForMultipleKeyTypes(Key key,
String defaultsValue)
Returns the value of a property checking if the type of current value is a STRING.
|
protected ArrayCanvas |
NativeObjectContainer.getValueOrArray(Key key,
Canvas defaultValue)
Returns a value (array) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a canvas. |
protected ArrayGradient |
NativeObjectContainer.getValueOrArray(Key key,
CanvasGradientItem defaultValue)
Returns a value (array) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a gradient. |
protected ArrayPattern |
NativeObjectContainer.getValueOrArray(Key key,
CanvasPatternItem defaultValue)
Returns a value (array) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a pattern. |
protected ArrayDouble |
NativeObjectContainer.getValueOrArray(Key key,
double defaultValue)
Returns a value (array) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a double. |
protected ArrayImage |
NativeObjectContainer.getValueOrArray(Key key,
Img defaultValue)
Returns a value (array) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a image. |
protected ArrayInteger |
NativeObjectContainer.getValueOrArray(Key key,
int defaultValue)
Returns a value (array) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a integer. |
protected ArrayString |
NativeObjectContainer.getValueOrArray(Key key,
Key defaultValue)
Returns a value (array) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a key. |
protected ArrayString |
NativeObjectContainer.getValueOrArray(Key key,
String defaultValue)
Returns a value (array) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a string. |
protected boolean |
NativeObjectContainer.has(Key... keys)
Returns true if the embedded JavaScript object contains an element at all properties.
|
protected boolean |
NativeObjectContainer.has(Key key)
Returns true if the embedded JavaScript object contains an element at specific property.
|
static <T extends Key> |
Key.hasKeyByValue(T[] enumValues,
String value)
Returns
true if a key in the an enumeration is related to the value, otherwise false . |
boolean |
JsHelper.isCanvas(NativeObjectContainer object,
Key key)
Returns
true if the object is a Canvas . |
boolean |
JsHelper.isImage(NativeObjectContainer object,
Key key)
Returns
true if the object is a Img . |
protected boolean |
NativeObjectContainer.isType(Key key,
ObjectType... types)
Returns
true if the type of the property is equals to one of the object types passed as argument. |
static boolean |
Key.isValid(Key key)
Returns
true if key passed as argument is not null and its value is not null as well. |
static <E extends Key> |
ArrayListHelper.list(E[] enumValues,
ArrayString array)
Creates a array list of enumeration values by an java script array of strings.
|
static <E extends Key> |
ArrayListHelper.list(E[] enumValues,
E[] values)
Creates a array list of enumeration values (instance of
Key ). |
static <E extends Key> |
ArrayListHelper.list(E[] enumValues,
E[] values)
Creates a array list of enumeration values (instance of
Key ). |
protected void |
NativeObjectContainer.remove(Key... keys)
Removes a set of elements (by keys) from the embedded JavaScript object.
|
protected void |
NativeObjectContainer.remove(Key key)
Removes an element (by key) from the embedded JavaScript object.
|
protected void |
NativeObjectContainer.setArrayValue(Key key,
ArrayDoubleArrayList<?> container)
Sets a value (Array from a double array container list) in the embedded JavaScript object at specific property.
|
protected void |
NativeObjectContainer.setArrayValue(Key key,
ArrayObjectContainerList<?> container)
Sets a value (Array from a container list) in the embedded JavaScript object at specific property.
|
protected <T extends Array> |
NativeObjectContainer.setArrayValue(Key key,
T value)
Sets a value (Array) in the embedded JavaScript object at specific property.
|
protected void |
PropertyHandler.setArrayValueAndAddToParent(Key key,
ArrayDoubleArrayList<?> container)
Sets a value (Array from a double array container list) in the embedded JavaScript object at specific property.
|
protected void |
AbstractNode.setArrayValueAndAddToParent(Key key,
ArrayDoubleArrayList<?> container)
Sets a value (Array from a double array container list) in the embedded JavaScript object at specific property.
|
protected void |
PropertyHandler.setArrayValueAndAddToParent(Key key,
ArrayObjectContainerList<?> container)
Sets a value (Array from a container list) in the embedded JavaScript object at specific property.
|
protected void |
AbstractNode.setArrayValueAndAddToParent(Key key,
ArrayObjectContainerList<?> container)
Sets a value (Array from a container list) in the embedded JavaScript object at specific property.
|
protected <T extends Array> |
PropertyHandler.setArrayValueAndAddToParent(Key key,
T value)
Sets a value (Array) in the embedded JavaScript object at specific property.
|
protected <T extends Array> |
AbstractNode.setArrayValueAndAddToParent(Key key,
T value)
Sets a value (Array) in the embedded JavaScript object at specific property.
|
protected void |
NativeObjectContainer.setElement(Key key,
BaseHtmlElement value)
Sets a value (BaseHtmlElement) in the embedded JavaScript object at specific property.
|
protected void |
AbstractNode.setElementAndAddToParent(Key key,
BaseHtmlElement value)
Sets a value (BaseHtmlElement) in the embedded JavaScript object at specific property.
|
protected void |
NativeObjectContainer.setEmptyValue(Key key)
Sets a value (an empty JavaScript Object) in the embedded JavaScript object at specific property.
|
protected void |
AbstractNode.setInternalCallbackToModel(AbstractNode model,
Key key,
CallbackProxy.Proxy proxy)
Adds a proxy function to a model at the specific key.
|
protected void |
AbstractNode.setInternalCallbackToModel(AbstractNode model,
Key key,
NativeCallback callback)
Adds a native callback function to a model at the specific key.
|
protected void |
NativeObjectContainer.setValue(Key key,
BaseNativeEvent value)
Sets a value (event) in the embedded JavaScript object at specific property.
|
protected void |
NativeObjectContainer.setValue(Key key,
boolean value)
Sets a value (boolean) in the embedded JavaScript object at specific property.
|
protected void |
NativeObjectContainer.setValue(Key key,
CallbackProxy.Proxy value)
Sets a value (callback proxy function) in the embedded JavaScript object at specific property.
|
protected void |
NativeObjectContainer.setValue(Key key,
Canvas value)
Sets a value (canvas) in the embedded JavaScript object at specific property.
|
protected void |
NativeObjectContainer.setValue(Key key,
CanvasGradientItem value)
Sets a value (gradient) in the embedded JavaScript object at specific property.
|
protected void |
NativeObjectContainer.setValue(Key key,
CanvasPatternItem value)
Sets a value (pattern) in the embedded JavaScript object at specific property.
|
protected void |
NativeObjectContainer.setValue(Key key,
Chart value)
Sets a value (chart) in the embedded JavaScript object at specific property.
|
protected void |
NativeObjectContainer.setValue(Key key,
Date value)
Sets a value (date) in the embedded JavaScript object at specific property.
|
protected void |
NativeObjectContainer.setValue(Key key,
double value)
Sets a value (double) in the embedded JavaScript object at specific property.
|
protected void |
NativeObjectContainer.setValue(Key key,
Img value)
Sets a value (image) in the embedded JavaScript object at specific property.
|
protected void |
NativeObjectContainer.setValue(Key key,
int value)
Sets a value (int) in the embedded JavaScript object at specific property.
|
protected void |
NativeObjectContainer.setValue(Key key,
NativeArrayContainer<?> value)
Sets a value (JavaScript Object) in the embedded JavaScript object at specific property by array container.
|
protected void |
NativeObjectContainer.setValue(Key key,
NativeCallback value)
Sets a value (native callback function) in the embedded JavaScript object at specific property.
|
protected void |
NativeObjectContainer.setValue(Key key,
NativeObject value)
Sets a value (JavaScript Object) in the embedded JavaScript object at specific property.
|
protected void |
NativeObjectContainer.setValue(Key key,
NativeObjectContainer value)
Sets a value (JavaScript Object) in the embedded JavaScript object at specific property by object container.
|
protected void |
NativeObjectContainer.setValue(Key key,
String value)
Sets a value (string) in the embedded JavaScript object at specific property.
|
protected <T extends Key> |
NativeObjectContainer.setValue(Key key,
T value)
Sets a value (EnumValue) in the embedded JavaScript object at specific property.
|
protected void |
PropertyHandler.setValueAndAddToParent(Key key,
BaseNativeEvent value)
Sets a value (event) in the embedded JavaScript object at specific property.
|
protected void |
AbstractNode.setValueAndAddToParent(Key key,
BaseNativeEvent value)
Sets a value (event) in the embedded JavaScript object at specific property.
|
protected void |
PropertyHandler.setValueAndAddToParent(Key key,
boolean value)
Sets a value (boolean) in the embedded JavaScript object at specific property.
|
protected void |
AbstractNode.setValueAndAddToParent(Key key,
boolean value)
Sets a value (boolean) in the embedded JavaScript object at specific property.
|
protected void |
PropertyHandler.setValueAndAddToParent(Key key,
CallbackProxy.Proxy value)
Sets a value (callback proxy function) in the embedded JavaScript object at specific property.
|
protected void |
AbstractNode.setValueAndAddToParent(Key key,
CallbackProxy.Proxy value)
Sets a value (callback proxy function) in the embedded JavaScript object at specific property.
|
protected void |
PropertyHandler.setValueAndAddToParent(Key key,
Canvas value)
Sets a value (canvas) in the embedded JavaScript object at specific property.
|
protected void |
AbstractNode.setValueAndAddToParent(Key key,
Canvas value)
Sets a value (canvas) in the embedded JavaScript object at specific property.
|
protected void |
PropertyHandler.setValueAndAddToParent(Key key,
CanvasGradientItem value)
Sets a value (gradient) in the embedded JavaScript object at specific property.
|
protected void |
AbstractNode.setValueAndAddToParent(Key key,
CanvasGradientItem value)
Sets a value (gradient) in the embedded JavaScript object at specific property.
|
protected void |
PropertyHandler.setValueAndAddToParent(Key key,
CanvasPatternItem value)
Sets a value (pattern) in the embedded JavaScript object at specific property.
|
protected void |
AbstractNode.setValueAndAddToParent(Key key,
CanvasPatternItem value)
Sets a value (pattern) in the embedded JavaScript object at specific property.
|
protected void |
PropertyHandler.setValueAndAddToParent(Key key,
Chart value)
Sets a value (chart) in the embedded JavaScript object at specific property.
|
protected void |
AbstractNode.setValueAndAddToParent(Key key,
Chart value)
Sets a value (chart) in the embedded JavaScript object at specific property.
|
protected void |
PropertyHandler.setValueAndAddToParent(Key key,
Date value)
Sets a value (date) in the embedded JavaScript object at specific property.
|
protected void |
AbstractNode.setValueAndAddToParent(Key key,
Date value)
Sets a value (date) in the embedded JavaScript object at specific property.
|
protected void |
PropertyHandler.setValueAndAddToParent(Key key,
double value)
Sets a value (double) in the embedded JavaScript object at specific property.
|
protected void |
AbstractNode.setValueAndAddToParent(Key key,
double value)
Sets a value (double) in the embedded JavaScript object at specific property.
|
protected void |
PropertyHandler.setValueAndAddToParent(Key key,
Img value)
Sets a value (image) in the embedded JavaScript object at specific property.
|
protected void |
AbstractNode.setValueAndAddToParent(Key key,
Img value)
Sets a value (image) in the embedded JavaScript object at specific property.
|
protected void |
PropertyHandler.setValueAndAddToParent(Key key,
int value)
Sets a value (int) in the embedded JavaScript object at specific property.
|
protected void |
AbstractNode.setValueAndAddToParent(Key key,
int value)
Sets a value (int) in the embedded JavaScript object at specific property.
|
protected void |
PropertyHandler.setValueAndAddToParent(Key key,
NativeArrayContainer<?> value)
Sets a value (JavaScript Object) in the embedded JavaScript object at specific property by array container.
|
protected void |
AbstractNode.setValueAndAddToParent(Key key,
NativeArrayContainer<?> value)
Sets a value (JavaScript Object) in the embedded JavaScript object at specific property by array container.
|
protected void |
PropertyHandler.setValueAndAddToParent(Key key,
NativeCallback value)
Sets a value (callback function) in the embedded JavaScript object at specific property.
|
protected void |
AbstractNode.setValueAndAddToParent(Key key,
NativeCallback value)
Sets a value (callback function) 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.
|
protected void |
PropertyHandler.setValueAndAddToParent(Key key,
NativeObjectContainer value)
Sets a value (JavaScript Object) in the embedded JavaScript object at specific property by object container.
|
protected void |
AbstractNode.setValueAndAddToParent(Key key,
NativeObjectContainer value)
Sets a value (JavaScript Object) in the embedded JavaScript object at specific property by object container.
|
protected void |
PropertyHandler.setValueAndAddToParent(Key key,
String value)
Sets a value (string) in the embedded JavaScript object at specific property.
|
protected void |
AbstractNode.setValueAndAddToParent(Key key,
String value)
Sets a value (string) in the embedded JavaScript object at specific property.
|
protected <T extends Key> |
PropertyHandler.setValueAndAddToParent(Key key,
T value)
Sets a value (EnumValue) in the embedded JavaScript object at specific property.
|
protected <T extends Key> |
AbstractNode.setValueAndAddToParent(Key key,
T value)
Sets a value (EnumValue) in the embedded JavaScript object at specific property.
|
protected void |
NativeObjectContainer.setValueOrArray(Key key,
Canvas... values)
Sets a value (array or canvas) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a image. |
protected void |
NativeObjectContainer.setValueOrArray(Key key,
CanvasGradientItem... values)
Sets a value (Array or gradient) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a gradient. |
protected void |
NativeObjectContainer.setValueOrArray(Key key,
CanvasPatternItem... values)
Sets a value (Array or pattern) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a pattern. |
protected void |
NativeObjectContainer.setValueOrArray(Key key,
double... values)
Sets a value (Array or double) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a double. |
protected void |
NativeObjectContainer.setValueOrArray(Key key,
Img... values)
Sets a value (array or image) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a image. |
protected void |
NativeObjectContainer.setValueOrArray(Key key,
int... values)
Sets a value (Array or integer) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a integer. |
protected void |
NativeObjectContainer.setValueOrArray(Key key,
IsColor... values)
Sets a value (Array or string by colors) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a string. |
protected void |
NativeObjectContainer.setValueOrArray(Key key,
Key... values)
Sets a value (Array or string by keys) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a string. |
protected void |
NativeObjectContainer.setValueOrArray(Key key,
Key... values)
Sets a value (Array or string by keys) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a string. |
protected void |
NativeObjectContainer.setValueOrArray(Key key,
NativeObjectContainer... values)
Sets a value (array or native object container) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a native object container. |
protected void |
NativeObjectContainer.setValueOrArray(Key key,
String... values)
Sets a value (Array or string) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a string. |
protected void |
PropertyHandler.setValueOrArrayAndAddToParent(Key key,
Canvas... values)
Sets a value (array or canvas) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a canvas. |
protected void |
AbstractNode.setValueOrArrayAndAddToParent(Key key,
Canvas... values)
Sets a value (array or canvas) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a canvas. |
protected void |
PropertyHandler.setValueOrArrayAndAddToParent(Key key,
CanvasGradientItem... values)
Sets a value (Array or gradient) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a gradient. |
protected void |
AbstractNode.setValueOrArrayAndAddToParent(Key key,
CanvasGradientItem... values)
Sets a value (Array or gradient) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a gradient. |
protected void |
PropertyHandler.setValueOrArrayAndAddToParent(Key key,
CanvasPatternItem... values)
Sets a value (Array or pattern) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a pattern. |
protected void |
AbstractNode.setValueOrArrayAndAddToParent(Key key,
CanvasPatternItem... values)
Sets a value (Array or pattern) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a pattern. |
protected void |
PropertyHandler.setValueOrArrayAndAddToParent(Key key,
double... values)
Sets a value (Array or double) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a double. |
protected void |
AbstractNode.setValueOrArrayAndAddToParent(Key key,
double... values)
Sets a value (Array or double) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a double. |
protected void |
PropertyHandler.setValueOrArrayAndAddToParent(Key key,
Img... values)
Sets a value (array or image) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a image. |
protected void |
AbstractNode.setValueOrArrayAndAddToParent(Key key,
Img... values)
Sets a value (array or image) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a image. |
protected void |
PropertyHandler.setValueOrArrayAndAddToParent(Key key,
int... values)
Sets a value (Array or integer) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a integer. |
protected void |
AbstractNode.setValueOrArrayAndAddToParent(Key key,
int... values)
Sets a value (Array or integer) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a integer. |
protected void |
PropertyHandler.setValueOrArrayAndAddToParent(Key key,
IsColor... values)
Sets a value (Array or string by colors) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a string. |
protected void |
AbstractNode.setValueOrArrayAndAddToParent(Key key,
IsColor... values)
Sets a value (Array or string by colors) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a string. |
protected void |
PropertyHandler.setValueOrArrayAndAddToParent(Key key,
Key... values)
Sets a value (Array or string by keys) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a string. |
protected void |
PropertyHandler.setValueOrArrayAndAddToParent(Key key,
Key... values)
Sets a value (Array or string by keys) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a string. |
protected void |
AbstractNode.setValueOrArrayAndAddToParent(Key key,
Key... values)
Sets a value (Array or string by keys) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a string. |
protected void |
AbstractNode.setValueOrArrayAndAddToParent(Key key,
Key... values)
Sets a value (Array or string by keys) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a string. |
protected void |
PropertyHandler.setValueOrArrayAndAddToParent(Key key,
NativeObjectContainer... values)
Sets a value (array or native object container) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a native object container. |
protected void |
AbstractNode.setValueOrArrayAndAddToParent(Key key,
NativeObjectContainer... values)
Sets a value (array or native object container) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a native object container. |
protected void |
PropertyHandler.setValueOrArrayAndAddToParent(Key key,
String... values)
Sets a value (Array or string) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a string. |
protected void |
AbstractNode.setValueOrArrayAndAddToParent(Key key,
String... values)
Sets a value (Array or string) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a string. |
protected ObjectType |
NativeObjectContainer.type(Key key)
Returns the java script type of the property.
|
static <E extends Key> |
ArrayListHelper.unmodifiableList(E[] enumValues,
ArrayString array)
Creates an unmodifiable array list of enumeration values by an java script array of strings.
|
static <E extends Key> |
ArrayListHelper.unmodifiableList(E[] enumValues,
E[] values)
Creates an unmodifiable array list of enumeration values (instance of
Key ). |
static <E extends Key> |
ArrayListHelper.unmodifiableList(E[] enumValues,
E[] values)
Creates an unmodifiable array list of enumeration values (instance of
Key ). |
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.
|
ArrayEnumList(E[] values)
Creates an empty list by all values of an enumeration.
|
CallbackPropertyHandler(Key property)
Creates the object storing the property key to manage.
|
Modifier and Type | Interface and Description |
---|---|
interface |
AxisType
Represents the scale type of a scale/axis object.
|
Modifier and Type | Class and Description |
---|---|
class |
StandardAxisType
This is a standard implementation of a axis type
|
Modifier and Type | Method and Description |
---|---|
List<Key> |
Plugins.getAllIds()
Returns the unmodifiable list of registered plugin ids.
|
Modifier and Type | Class and Description |
---|---|
class |
ControllerType
Represent the type of new controller.
|
Modifier and Type | Class and Description |
---|---|
protected static class |
Dataset.CommonProperty
Name of common properties of native object related to a dataset.
|
Modifier and Type | Method and Description |
---|---|
Key |
LiningDataset.getPointFillStyleProperty() |
Key |
HasPointFillStrokeStyles.getPointFillStyleProperty()
Returns the property which is mapping the point fill style.
|
Key |
LiningDataset.getPointStrokeStyleProperty() |
Key |
HasPointFillStrokeStyles.getPointStrokeStyleProperty()
Returns the property which is mapping the point stroke style.
|
Modifier and Type | Method and Description |
---|---|
double |
AbstractDataPoint.getAttribute(Key key)
Returns a custom field value from data point.
|
Date |
AbstractDataPoint.getAttributeAsDate(Key key)
Returns a custom field value from data point.
|
<T extends NativeObjectContainer> |
AbstractDataPoint.getAttributeAsObject(Key key,
NativeObjectContainerFactory<T> factory)
Returns a custom field value from data point.
|
String |
AbstractDataPoint.getAttributeAsString(Key key)
Returns a custom field value from data point.
|
protected ArrayString |
HoverDataset.getColors(Key key,
String defaultvalue) |
protected ArrayString |
HoverFlexDataset.getColors(Key key,
String defaultvalue)
Returns an array of colors as string.
|
protected ArrayInteger |
HoverDataset.getWidths(Key key,
int defaultvalue) |
protected ArrayInteger |
HoverFlexDataset.getWidths(Key key,
int defaultvalue)
Returns an array of widths as integer
|
void |
AbstractDataPoint.setAttribute(Key key,
Date value)
Sets a custom field to data point.
|
void |
AbstractDataPoint.setAttribute(Key key,
double value)
Sets a custom field to data point.
|
void |
AbstractDataPoint.setAttribute(Key key,
String value)
Sets a custom field to data point.
|
<T extends NativeObjectContainer> |
AbstractDataPoint.setAttribute(Key key,
T value)
Sets a custom field to data point.
|
protected void |
HoverDataset.setColors(Key key,
IsColor... colors) |
protected void |
HoverFlexDataset.setColors(Key key,
IsColor... colors)
Sets a color property in the dataset, setting a single value or an array.
|
protected void |
HoverDataset.setColors(Key key,
String... colors) |
protected void |
HoverFlexDataset.setColors(Key key,
String... colors)
Sets a color property in the dataset, setting a single value or an array.
|
protected void |
HoverDataset.setWidths(Key key,
int... widths) |
protected void |
HoverFlexDataset.setWidths(Key key,
int... widths)
Sets a width property in the dataset, setting a single value or an array.
|
Modifier and Type | Interface and Description |
---|---|
interface |
DataLabelId
Represents the label id of a label configuration object in the
DataLabelsPlugin.ID plugin. |
Modifier and Type | Method and Description |
---|---|
List<Key> |
Labels.getLabelKeys()
Returns the list of all keys related to stored options.
|
Modifier and Type | Class and Description |
---|---|
class |
Align
The align option defines the position of the label relative to the anchor point position and orientation.
|
class |
Anchor
An anchor point is defined by an orientation vector and a position on the data element.
The orientation depends on the scale type (vertical, horizontal or radial). The position is calculated based on the anchor option and the orientation vector. |
Modifier and Type | Class and Description |
---|---|
class |
BorderStyle
Enumerates the sets the line style for all four sides of an element's border.
|
class |
CursorType
Enumerates the sets the type of cursor, if any, to show when the mouse pointer is over an element.
|
class |
Display
Enumerates the property sets whether an element is treated as a block or inline element and the layout used for its children.
|
class |
GlobalCompositeOperation
Identifying which of the compositing or blending mode operations to use.
|
class |
MutationType
Enumerates all types which can be set in the a
MutationObserver and consumable by MutationRecord.getType() . |
class |
Position
Enumerates the set of values how an element is positioned in a document.
|
class |
Repetition
Enumerates the set of values how to repeat the pattern's image.
|
class |
TextBaseline
Enumerates the set of values to specify the current text baseline used when drawing text.
|
class |
TextDecoration
Enumerates the set of values to specify the appearance of decorative lines on text.
|
class |
Unit
Enumerates the unit of measure for sizes.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IsFill
Represents how to fill the area under the line.
|
interface |
IsTooltipPosition
Defines an object which represents the positioning of the tooltip.
|
Modifier and Type | Class and Description |
---|---|
class |
AbsoluteDatasetIndexFill
Fill object to configure chart to use an absolute dataset index.
Absolute dataset index, as integer, is composed by integer value which must be greater than 0. Here are same examples: (1,2,3,...). |
class |
AnimationType
Type of property in the animation object to determine the interpolator used.
|
class |
AxisKind
Can be set to 'x', 'y' or 'r' to define which directions are used in axis.
|
class |
AxisPosition
An axis can either be positioned at the edge of the chart, at the center of the chart area, or dynamically with respect to a data value.
To position the axis at the edge of the chart, set the position option to one of: 'top', 'left', 'bottom', 'right'. To position the axis at the center of the chart area, set the position option to 'center'. In this mode, either the axis option is specified or the axis ID starts with the letter 'x' or 'y'. To position the axis with respect to a data value, set the position option to an object such as -20 .This will position the axis at a value of -20 on the axis with ID "x". For cartesian axes, only 1 axis may be specified. |
class |
BorderAlign
Property to set the border alignment on chart datasets.
|
class |
BorderItemType
Property which map the border width and border radius types on
BarDataset . |
class |
BorderSkipped
Property to set the border position on chart datasets.
This setting is used to avoid drawing the bar stroke at the base of the fill. |
class |
Bounds
Controls the scale boundary strategy (bypassed by minimum/maximum time options).
|
class |
CapStyle
Determines how the end points of every line are drawn.
There are three possible values for this property and those are: butt, round and square. |
class |
ChartAxisType
Axes are an integral part of a chart.
|
class |
ChartEventProperty
Enumerates the name of options property to set the callbacks to chart events.
|
class |
ColorType
|
class |
ContextType
Enumerates the type of scriptable options context.
|
class |
CrossAlign
The crossAlign setting configures how labels align with the tick mark in the perpendicular direction.
For instance vertical for a horizontal axis and horizontal for a vertical axis. |
class |
CubicInterpolationMode
Determines the interpolation mode of lines.
|
class |
DataType
Enumeration with all possible types of data set in the dataset.
|
class |
DecimationAlgorithm
Enumerates the possible algorithm that
DefaultPluginId.DECIMATION plugin can use for its work. |
class |
DefaultAnimationCollectionKey
Cores animation collections names provided out of the box by CHART.JS.
|
class |
DefaultAnimationPropertyKey
Cores animation properties, to use to animate, provided out of the box by CHART.JS.
|
class |
DefaultPluginId
Contains the GLOBAL plugin IDs of the default CHART.JS plugins, provided out of the box.
|
class |
DefaultScaleId
Enumerates the default scale id.
|
class |
DefaultTransitionKey
Cores animation update modes (transition) provided out of the box by CHART.JS.
|
class |
Easing
Easing is acceleration, a change in speed.
For further details, see here. |
class |
ElementAlign
Property to set alignment of the legend and the title.
|
class |
Fill
Both line and radar charts support a fill option on the data set object which can be used to create area between two data sets or a data set and a boundary.
These are the constants of predefined filling mode values. |
class |
FillingMode
Represents how to fill the area under the line.
|
class |
FontStyle
The font-style property specifies the font style for a text.
|
class |
ImageMimeType
Determines the image format to use to export the image from the canvas.
|
class |
IndexAxis
Can be set to 'x' or 'y' to define the base axis for the dataset.
Use 'y' for horizontal bar. |
class |
InteractionAxis
Can be set to 'x', 'y', or 'xy' to define which directions are used in calculating distances.
Defaults to 'x' for index mode and 'xy' in dataset and nearest modes. |
class |
InteractionMode
When configuring interaction with the graph via hover or tooltips, a number of different modes are available to set which elements appear via tooltip or hover.
|
class |
JoinStyle
Determines how two connecting segments (of lines, arcs or curves) with non-zero lengths in a shape are joined together (degenerate segments with zero lengths, whose specified
end points and control points are exactly at the same position, are skipped).
|
class |
LegendEventProperty
Enumerates the name of options property to set the callbacks to legend events.
|
class |
ModifierKey
A modifier key modifies the action of another key when the keys are pressed at the same time.
|
class |
PluginOptionsScope
Enumeration with all possible options scope.
|
class |
PointStyle
Style of the point.
|
class |
PointStyleType
Enumerates the type of the point style.
|
class |
RelativeDatasetIndexFill
Fill object to configure chart to use a relative dataset index.
Relative dataset index, as string, is composed by sign and value, both mandatory. Here are same examples: ("-1", "-2", "+1", "+2",...). |
class |
Render
Determines which information must be rendered in the meter or gauge chart.
|
class |
ScaleTitleAlign
Property to set the scale title alignment.
|
class |
Stepped
Property to set if the line is shown as a stepped line.
|
class |
TextAlign
Property to set the text alignment.
|
class |
TextDirection
Enumerates the text direction that will force the text direction on the canvas for rendering the legend, regardless of the CSS specified on the canvas.
|
class |
TickSource
Controls the ticks generation on cartesian time axis.
|
class |
TimeUnit
Controls the data distribution along the scale.
|
class |
TooltipAlign
Defines the position of the tooltip caret.
|
class |
TooltipPosition
These are the different modes for positioning of the tooltip.
|
class |
Weight
The weight sets how thick or thin characters in text should be displayed.
|
Modifier and Type | Method and Description |
---|---|
static AxisKind |
DefaultScaleId.getAxisKindByScaleId(Key scaleId,
AxisKind defaultValue)
Returns the axis kind inferring from the first character of the scale id which should be 'x', 'y' or 'r'.
|
static PointStyleType |
PointStyleType.getType(NativeObjectContainer object,
Key key)
Returns the point style type in the native object container.
|
static boolean |
DefaultPluginId.is(Key pluginId)
Returns
true if the argument is equals to a default plugin id.The DefaultPluginId.FILLER is not considered a default plugin because does not have a specific namespace in the options. |
Modifier and Type | Class and Description |
---|---|
class |
EventType
This is the type of an event which must be related to the handlers.
To be unique it uses a class name as value. |
Modifier and Type | Method and Description |
---|---|
Key |
IsCommonChartEvent.getKey()
Returns the options key where default function is stored.
|
Modifier and Type | Method and Description |
---|---|
List<Key> |
Feature.getPropertiesKeys()
Returns the list of properties names of the properties instance.
|
List<Key> |
TopoJson.objectsKeys()
Returns the list of properties names of the objects node.
|
Modifier and Type | Method and Description |
---|---|
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(String topojson,
Key featureProperty,
FeatureFindCallback findCallback)
Reads the topoJson definition and find a specific feature to enable outline.
|
static Feature |
GeoUtils.feature(TopoJson topojson,
Key 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(String topojson,
Key featureProperty)
Reads the topoJson definition and creates a list of features to enable regions drawing.
|
static List<Feature> |
GeoUtils.features(String topojson,
Key featureProperty,
FeatureFilterCallback filterCallback)
Reads the topoJson definition and creates a list of features to enable regions drawing.
|
static List<Feature> |
GeoUtils.features(TopoJson topojson,
Key featureProperty)
Reads the topoJson definition and creates a list of features to enable regions drawing.
|
static List<Feature> |
GeoUtils.features(TopoJson topojson,
Key featureProperty,
FeatureFilterCallback filterCallback)
Reads the topoJson definition and creates a list of features to enable regions drawing.
|
double |
Feature.getNumberProperty(Key key)
Returns a number value at specific property.
|
ObjectType |
Feature.getPropertyType(Key key)
Returns the java script type of a property.
|
double |
Feature.getPropertyValue(Key key,
double defaultValue)
Returns a number value at specific property.
|
String |
Feature.getPropertyValue(Key key,
String defaultValue)
Returns a string value at specific property.
|
String |
Feature.getStringProperty(Key key)
Returns a string value at specific property.
|
boolean |
Feature.hasProperty(Key key)
Returns
true if the properties contain an element at specific property. |
static Labels |
GeoUtils.loadLabels(List<Feature> features,
Key property)
Creates and loads a
Labels object with the label of feature object by the property. |
Modifier and Type | Class and Description |
---|---|
class |
ClipMap
Enumerates the possible values to clip the rendering to the chart area of the GEO graph.
|
class |
Interpolate
Enumerates the color interpolation for data set and scale.
|
class |
Mode
Enumerates the operation modes for the scale, area means that the area is linearly increasing whereas radius the radius is.
|
class |
Projection
Enumerates the possible map projections which are a way to flatten a globe's surface into a plane in order to make a map.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ColorScheme
This interface defines what a color scheme must have in terms of methods.
A color scheme must have: name is the name of color scheme category is the category of color scheme. |
Modifier and Type | Class and Description |
---|---|
class |
PointerElement
The elements of the chart in scope of
ChartPointer.ID plugin. |
class |
SchemeScope
Enumerates the possible values to address coloring of BAR or BUBBLE datasets by a color scheme.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IsLocaleItem
Interface to map the locale item in order to get the name and search the items against the name instead of the value.
|
Modifier and Type | Class and Description |
---|---|
class |
Language
Enumerates the language identifiers which can be used to create and manage locale.
|
class |
Region
Enumerates the region or country identifiers which can be used to create and manage locale.
|
class |
Script
Enumerates the standard codes for script identification which can be used to create and manage locale.
|
Modifier and Type | Class and Description |
---|---|
class |
Calendar
Enumerates the calendar to manage the dates.
|
class |
CompactDisplay
Enumerates the possible display when the formatting, that should be displayed for the number, is compact.
Takes either "short" (default) or "long". |
class |
Currency
Enumerates the standard codes for script identification which can be used to create and manage locale.
|
class |
CurrencyDisplay
Enumerates the possible values how to display the currency in currency formatting.
|
class |
CurrencySign
In many locales, accounting format means to wrap the number with parentheses instead of appending a minus sign.
You can enable this formatting you can use "accounting". The default value is "standard". |
class |
DateTimeStyle
Enumerates the possible display when the formatting, that should be displayed for the date and/or the time.
The date formatting style to use when calling AbstractFormat.format(java.lang.Object) . |
class |
FormatMatcher
The list of formats matching algorithm to use.
The following properties describe the date-time components to use in formatted output, and their desired representations. Implementations are required to support at least the following subsets: weekday, year, month, day, hour, minute, second weekday, year, month, day year, month, day year, month month, day hour, minute, second hour, minute Implementations may support other subsets, and requests will be negotiated against all available subset-representation combinations to find the best match. Two algorithms are available for this negotiation and selected by the DateTimeFormatOptions.setFormatMatcher(org.pepstock.charba.client.intl.enums.FormatMatcher)
property. |
class |
FormatPartType
Enumerates the possible types of a
FormatPart can have. |
class |
HourCycle
Enumerates the possible values to use to set the hour cycle.
|
class |
LocaleMatcher
The list of locales specified by the locales argument, after Unicode extensions have been removed from them, is interpreted as a prioritized request from the application.
The runtime compares it against the locales it has available and picks the best one available. Two matching algorithms exist, "lookup" and "best fit". |
class |
MeasureUnit
Enumerated the untis of measure to configure the number formatting.
Possible values are core unit identifiers, defined here. Pairs of simple units can be concatenated with "-per-" to make a compound unit. There is no default value; if the style is "unit", the unit property must be provided. |
class |
MeasureUnitDisplay
Enumerated the options to set the unit formatting style to use in unit formatting.
The defaults is "short". |
class |
MixedItemStyle
Enumerates the possible value to set the representation of the month.
|
class |
Notation
Enumerated the options in order to set the formatting that should be displayed for the number.
The defaults is "standard". |
class |
NumberingSystem
Enumerates the numbering system to manage the number formatting.
A numeral system is a system for expressing numbers. The numbering system property helps to represent the different numeral systems used by various countries, regions, and cultures around the world. |
class |
NumberItemStyle
Enumerates the possible value to set the representation of the numeric item of a date (year, day, hour, minute, second).
|
class |
SignDisplay
Enumerated the options in order to set when to display the sign for the number.
Defaults to "auto". |
class |
StringItemStyle
Enumerates the possible value to set the representation of the era, day periods, weekday.
|
class |
Style
Enumerated the options in order to set the formatting style to use.
The default is "decimal". |
class |
TimeZone
Enumerates the time zones identifiers which can be used on dates management.
See IANA times zones for more details. |
class |
TimeZoneName
Enumerates the possible value to set the representation of the time zone name.
|
Modifier and Type | Class and Description |
---|---|
protected static class |
LegendTextHandler.Property
Name of properties of native object.
|
Modifier and Type | Interface and Description |
---|---|
interface |
LabelId
Represents the label id of a label configuration object in the
LabelsPlugin.ID plugin. |
Modifier and Type | Method and Description |
---|---|
protected boolean |
LabelsContext.checkIfPropertyIsValid(Key property) |
Modifier and Type | Interface and Description |
---|---|
interface |
AnimationCollectionKey
Represents the collection to set to configure animation.
|
interface |
AnimationPropertyKey
Represents the property id to set to the configure animation collection items.
|
interface |
IsTypedAnimationKey
Represents an animation key which contains a animation type.
|
interface |
ScaleId
Represents the scale id of a scale/axis object.
|
interface |
TransitionKey
Represents the update mode (transition) to set to configure animation.
|
Modifier and Type | Class and Description |
---|---|
protected static class |
BarDatasetOptionsHandler.Property
Name of properties of native object.
|
protected static class |
FillHandler.Property
Name of properties of native object.
|
protected static class |
Options.CommonProperty
Name of properties of native object.
Properties common with which extends this class. |
protected static class |
SpanGapHandler.Property
Name of properties of native object.
|
class |
StandardAnimationCollection
This is a standard implementation of an animation collection
|
class |
StandardAnimationProperty
This is a standard implementation of an animation property.
|
class |
StandardAnimationTransition
This is a standard implementation of an animation update mode (transition).
|
class |
StandardScaleId
This is a standard implementation of a scale id
|
Modifier and Type | Method and Description |
---|---|
List<Key> |
Plugins.getAllIds()
Returns the unmodifiable list of registered plugin ids.
|
Modifier and Type | Method and Description |
---|---|
protected Padding |
AbstractModel.loadPadding(Key property,
IsDefaultPadding defaultPadding)
Loads the padding size or object from the abstract model, replacing the property, if is a number, with the object which is returned.
|
void |
ExtendedOptions.setCallback(ConfigurationEnvelop<AbstractNode> envelop,
Key property,
CallbackProxy.Proxy proxy)
Adds a callback proxy function to a element node instance.
|
void |
ExtendedScale.setCallback(ConfigurationEnvelop<AbstractNode> envelop,
Key property,
CallbackProxy.Proxy proxy)
Adds a callback proxy function to a element node instance.
|
void |
ExtendedOptions.setCallback(ConfigurationEnvelop<AbstractNode> envelop,
Key property,
NativeCallback callback)
Adds a native callback function to a element node instance.
|
void |
ExtendedScale.setCallback(ConfigurationEnvelop<AbstractNode> envelop,
Key property,
NativeCallback callback)
Adds a native callback function to a element node instance.
|
protected void |
AbstractModel.setCallbackToModel(AbstractNode model,
Key key,
CallbackProxy.Proxy proxy)
Adds a proxy function (for callbacks) to a model at the specific key.
|
protected void |
AbstractModel.setCallbackToModel(AbstractNode model,
Key key,
NativeCallback callback)
Adds a native callback function to a model at the specific key.
|
void |
ExtendedOptions.setEvent(AbstractNode node,
Key property,
ConfigurationEnvelop<CallbackProxy.Proxy> envelop)
Adds a event proxy function to animation element instance.
|
protected void |
AbstractModel.setEventToModel(AbstractNode model,
Key key,
CallbackProxy.Proxy proxy)
Adds a proxy function (for events) to a model at the specific key.
|
Constructor and Description |
---|
AnimationTransition(Key childKey,
IsDefaultAnimationTransition defaultValues,
ChartEnvelop<NativeObject> envelop,
String scope)
Creates an animation transitions container for the
UpdateConfiguration . |
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.
|
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.
|
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.
|
Modifier and Type | Class and Description |
---|---|
protected static class |
AbstractPluginOptions.Property
Name of properties of native object.
|
Modifier and Type | Method and Description |
---|---|
static Key |
PluginIdChecker.key(String id)
Creates a key by the plugin id as string
|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
CustomTooltipPosition
Custom tooltip position to use in the chart options to configure charts.
It must not be equals of the out of the box ones. |
Modifier and Type | Class and Description |
---|---|
class |
ResourceName
Enumerates the constants names to use as element id for scripts, mandatory to CHARBA to work properly.
|
Constructor and Description |
---|
AbstractInjectableResource(Key key,
String... content)
Creates the resource with a mandatory name as key and the content of injectable resource.
|
EmptyResource(Key key)
Creates an empty injectable resource with empty content, using the argument as name.
|
InjectableTextResource(Key key,
TextResource resource)
Creates an injectable resources using the text of it and the name as key, passed as argument.
|
Modifier and Type | Method and Description |
---|---|
Key |
SankeyDataPoint.getFromAsKey()
Returns from value as
Key . |
Key |
SankeyDataPoint.getToAsKey()
Returns to value as
Key . |
Modifier and Type | Method and Description |
---|---|
int |
Priority.get(Key nodeKey)
Returns the stored value in the map, by its key of the node.
|
String |
Labels.get(Key nodeKey)
Returns the stored value in the map, by its key of the node.
|
List<String> |
Labels.getAsMultipleLines(Key nodeKey)
Returns the stored value in the map, by its key of the node.
|
void |
Priority.set(Key nodeKey,
int value)
Sets a value in the map, by its key of the node.
|
void |
Labels.set(Key nodeKey,
List<String> value)
Sets a list of labels in the map, by its key of the node.
|
void |
Labels.set(Key nodeKey,
String value)
Sets a value in the map, by its key of the node.
|
void |
SankeyDataPoint.setFrom(Key from)
Sets from value as key.
|
void |
SankeyDataPoint.setTo(Key to)
Sets to value as key.
|
Constructor and Description |
---|
SankeyDataPoint(Key from,
Key to,
double flow)
Creates the object with the passed point values.
|
SankeyDataPoint(Key from,
String to,
double flow)
Creates the object with the passed point values.
|
SankeyDataPoint(String from,
Key to,
double flow)
Creates the object with the passed point values.
|
Modifier and Type | Class and Description |
---|---|
class |
ColorMode
Enumerates the color mode of the flow to draw on the chart.
|
class |
Size
Enumerates the modes if flow overlap is preferred or not.
|
Modifier and Type | Method and Description |
---|---|
Key |
TreeMapDataset.getKey()
Returns the the key of the object to use to get data value from a tree object.
It's needed ONLY when tree data is set by a list of objects. |
Modifier and Type | Method and Description |
---|---|
Set<Key> |
TreeMapDataset.getGroups()
Returns the the keys of the object to use to group the values from a tree object.
It's needed ONLY when tree data is set by a list of objects. |
Modifier and Type | Method and Description |
---|---|
void |
TreeMapDataset.setGroups(Key... groups)
Sets the the keys of the object to use to group the values from a tree object.
It's needed ONLY when tree data is set by a list of objects. |
void |
TreeMapDataset.setKey(Key key)
Sets the the key of the object to use to get data value from a tree object.
It's needed ONLY when tree data is set by a list of objects. |
Modifier and Type | Method and Description |
---|---|
void |
TreeMapDataset.setGroups(Set<Key> groups)
Sets the the keys of the object to use to group the values from a tree object.
It's needed ONLY when tree data is set by a list of objects. |
Modifier and Type | Interface and Description |
---|---|
interface |
IsProgressBarType
Defines a toast progress bar type.
|
interface |
IsToastType
Defines a toast type.
|
Modifier and Type | Method and Description |
---|---|
Key |
ActionItem.getId()
Returns the action unique id.
|
Key |
ToastItemAction.getId()
Returns the action unique id.
|
Modifier and Type | Method and Description |
---|---|
static ProgressBarTypeBuilder |
ProgressBarTypeBuilder.create(Key name,
Gradient gradient)
Returns new builder instance, to build a custom toast type.
|
static ToastTypeBuilder |
ToastTypeBuilder.create(Key name,
Gradient gradient)
Returns new builder instance, to build a custom toast type.
|
static ProgressBarTypeBuilder |
ProgressBarTypeBuilder.create(Key name,
IsColor backgroundColor)
Returns new builder instance, to build a custom toast type.
|
static ToastTypeBuilder |
ToastTypeBuilder.create(Key name,
IsColor backgroundColor)
Returns new builder instance, to build a custom toast type.
|
static ToastTypeBuilder |
ToastTypeBuilder.create(Key name,
IsColor color,
Gradient gradient)
Returns new builder instance, to build a custom toast type.
|
static ToastTypeBuilder |
ToastTypeBuilder.create(Key name,
IsColor color,
IsColor backgroundColor)
Returns new builder instance, to build a custom toast type.
|
static ToastTypeBuilder |
ToastTypeBuilder.create(Key name,
IsColor color,
Pattern pattern)
Returns new builder instance, to build a custom toast type.
|
static ToastTypeBuilder |
ToastTypeBuilder.create(Key name,
Pattern pattern)
Returns new builder instance, to build a custom toast type.
|
static ProgressBarTypeBuilder |
ProgressBarTypeBuilder.create(Key name,
String backgroundColor)
Returns new builder instance, to build a custom toast type.
|
static ToastTypeBuilder |
ToastTypeBuilder.create(Key name,
String backgroundColor)
Returns new builder instance, to build a custom toast type.
|
static ToastTypeBuilder |
ToastTypeBuilder.create(Key name,
String color,
Gradient gradient)
Returns new builder instance, to build a custom toast type.
|
static ToastTypeBuilder |
ToastTypeBuilder.create(Key name,
String color,
Pattern pattern)
Returns new builder instance, to build a custom toast type.
|
static ToastTypeBuilder |
ToastTypeBuilder.create(Key name,
String color,
String backgroundColor)
Returns new builder instance, to build a custom toast type.
|
Constructor and Description |
---|
ActionItem(Key id,
ActionClickEventHandler handler)
Creates the action with the id of the toast and the handler to invoke when the user will click on the action.
The content is the value of the id. |
ActionItem(Key id,
String content,
ActionClickEventHandler handler)
Creates the action with the id of the action, the content to show on the toast and the handler to invoke when the user will click on the action.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultProgressBarType
Enumerates the list of progress bar type for toasting.
|
class |
DefaultToastType
Enumerates the list of default notification type for toasting.
|
class |
Status
Enumerates the status of
ToastItem . |
Modifier and Type | Method and Description |
---|---|
protected boolean |
ZoomContext.checkIfPropertyIsValid(Key property) |