Uses of Interface
org.pepstock.charba.client.commons.Key
-
Packages that use Key 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 theAnnotationPlugin.ID
plugin (AKAchartjs-plugin-annotation.js
) for CHART.js.org.pepstock.charba.client.annotation.enums Contains all enumerations to configure theAnnotationPlugin.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 theDataLabelsPlugin.ID
plugin (AKAchartjs-plugin-datalabels.js
) for CHART.js.org.pepstock.charba.client.datalabels.enums Contains all enumerations to configure theDataLabelsPlugin.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 (AKAchartjs-chart-geo.js
) for CHART.js.org.pepstock.charba.client.geo.enums Contains all enumerations to configure the GEO controllers.org.pepstock.charba.client.gradient Contains all classes to activate theGradientPlugin.ID
plugin (AKAchartjs-plugin-gradient.js
) for CHART.js.org.pepstock.charba.client.impl.plugins Contains some plugins implementations, available out-of-the box.org.pepstock.charba.client.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 useLabelsPlugin.ID
plugin (AKAchartjs-plugin-labels.js
) available for CHART.JS.org.pepstock.charba.client.labels.enums Contains all enumerations to configure theLabelsPlugin.ID
plugin.org.pepstock.charba.client.matrix.enums Contains all enumerations to configure the MATRIX controllers.org.pepstock.charba.client.options Contains all elements to configure charts at global level (know as chart global options).org.pepstock.charba.client.plugins Contains all classes to manage the plugin implementations.org.pepstock.charba.client.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 (AKAchartjs-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 (AKAchartjs-chart-treemap.js
) for CHART.js.org.pepstock.charba.client.treemap.enums Contains all enumerations to configure theTreeMapChart
controller.org.pepstock.charba.client.utils.toast Contains all classes to useToaster
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 theZoomPlugin.ID
plugin (AKAchartjs-plugin-zoom.js
) for CHART.js.org.pepstock.charba.client.zoom.enums Contains theZoomPlugin.ID
plugin enumerations to configure the plugin. -
-
Uses of Key in org.pepstock.charba.client
Subinterfaces of Key in org.pepstock.charba.client Modifier and Type Interface Description interface
Type
Interface to map the type and scale type of a chart.Classes in org.pepstock.charba.client that implement Key Modifier and Type Class Description class
ChartType
Enumerates all out-of-the-box types of a chart. -
Uses of Key in org.pepstock.charba.client.annotation
Subinterfaces of Key in org.pepstock.charba.client.annotation Modifier and Type Interface Description interface
AnnotationId
Represents the annotation id of a annotation configuration object in theAnnotationPlugin.ID
plugin.Classes in org.pepstock.charba.client.annotation that implement Key Modifier and Type Class Description class
AnnotationType
Defines the type of annotation. -
Uses of Key in org.pepstock.charba.client.annotation.enums
Classes in org.pepstock.charba.client.annotation.enums that implement Key Modifier and Type Class Description class
CalloutPosition
Property to set the position of aCallout
with respect to the label.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. -
Uses of Key in org.pepstock.charba.client.callbacks
Methods in org.pepstock.charba.client.callbacks with type parameters of type Key Modifier and Type Method Description static <T extends Key,C extends ChartContext>
TScriptableUtil. 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>
TScriptableUtil. 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.Methods in org.pepstock.charba.client.callbacks with parameters of type Key Modifier and Type Method Description protected boolean
AbstractDatasetContext. 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
ScaleContext. checkIfPropertyIsValid(Key property)
protected boolean
SegmentContext. 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. -
Uses of Key in org.pepstock.charba.client.colors
Classes in org.pepstock.charba.client.colors that implement Key Modifier and Type Class 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 RADIALMethods in org.pepstock.charba.client.colors that return Key Modifier and Type Method Description Key
CanvasObjectFactory. getScope()
Returns the scope of this factory.Constructors in org.pepstock.charba.client.colors with parameters of type Key Constructor Description CanvasObjectFactory(Key scope)
Creates the object using the scope of this factory. -
Uses of Key in org.pepstock.charba.client.colors.tiles
Subinterfaces of Key in org.pepstock.charba.client.colors.tiles Modifier and Type Interface Description interface
IsShape
Defines a shape to draw on the tile.Classes in org.pepstock.charba.client.colors.tiles that implement Key Modifier and Type Class 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 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. -
Uses of Key in org.pepstock.charba.client.commons
Classes in org.pepstock.charba.client.commons with type parameters of type Key Modifier and Type Class 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 elementse1
ande2
such thate1.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.Subinterfaces of Key in org.pepstock.charba.client.commons Modifier and Type Interface Description interface
PropertyKey
Represents the key of property of a java-script object.Classes in org.pepstock.charba.client.commons that implement Key Modifier and Type Class Description class
AbstractKey
This is an abstract standard implementation of a custom key.class
Id
Enums the property ID used by CHARBA to identify the chart.Fields in org.pepstock.charba.client.commons declared as Key Modifier and Type Field Description static Key[]
ArrayUtil. EMPTY_KEY_ARRAY
An empty immutableKey
array.Methods in org.pepstock.charba.client.commons with type parameters of type Key Modifier and Type Method Description static <T extends Key>
TKey. checkAndGetIfValid(T key)
Checks if key passed as argument is notnull
and its value is notnull
as well.
If not, throw aIllegalArgumentException
, otherwise it returns the key.static <T extends Key>
ArrayStringArrayString. fromOrEmpty(Set<T> items)
Creates a java script array of strings starting from set of keys.static <T extends Key>
ArrayStringArrayString. fromOrNull(Set<T> items)
Creates a java script array of strings starting from set of keys.static <T extends Key>
TKey. getKeyByValue(T[] enumValues, String value)
Returns a key in the an enumeration by the value.static <T extends Key>
TKey. 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>
TNativeObjectContainer. getValue(Key key, T[] enumValues, T defaultValue)
Returns a value (key) in the embedded JavaScript object at specific property.static <T extends Key>
booleanKey. hasKeyByValue(T[] enumValues, String value)
Returnstrue
if a key in the an enumeration is related to the value, otherwisefalse
.static <E extends Key>
ArrayKeyList<E>ArrayListHelper. keys(ArrayString array, KeyFactory<E> factory)
Creates a array list ofKey
values by an java script array of strings.static <E extends Key>
ArrayEnumList<E>ArrayListHelper. list(E[] enumValues, E[] values)
Creates a array list of enumeration values (instance ofKey
).static <E extends Key>
ArrayEnumList<E>ArrayListHelper. list(E[] enumValues, ArrayString array)
Creates a array list of enumeration values by an java script array of strings.static <E extends Key>
ArrayKeySet<E>ArraySetHelper. set(ArrayString array, KeyFactory<E> factory)
Creates a array set ofKey
values by an java script array of strings.protected <T extends Key>
voidNativeObjectContainer. setValue(Key key, T value)
Sets a value (EnumValue) in the embedded JavaScript object at specific property.protected <T extends Key>
voidAbstractNode. setValueAndAddToParent(Key key, T value)
Sets a value (EnumValue) in the embedded JavaScript object at specific property.protected <T extends Key>
voidPropertyHandler. setValueAndAddToParent(Key key, T value)
Sets a value (EnumValue) in the embedded JavaScript object at specific property.static <E extends Key>
List<E>ArrayListHelper. unmodifiableKeys(ArrayString array, KeyFactory<E> factory)
Creates a unmodifiable array list ofKey
values by an java script array of strings.static <E extends Key>
List<E>ArrayListHelper. unmodifiableList(E[] enumValues, E[] values)
Creates an unmodifiable array list of enumeration values (instance ofKey
).static <E extends Key>
List<E>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>
Set<E>ArraySetHelper. unmodifiableSet(ArrayString array, KeyFactory<E> factory)
Creates an unmodifiable array set ofKey
values by an java script array of strings.Methods in org.pepstock.charba.client.commons that return Key Modifier and Type Method 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 managestatic Key[]
ArrayUtil. toKeys(List<Key> list)
Returns an array of dates from a list.Methods in org.pepstock.charba.client.commons that return types with arguments of type Key Modifier and Type Method Description protected List<Key>
NativeObjectContainer. keys()
Returns the list of properties names of the object.Methods in org.pepstock.charba.client.commons with parameters of type Key Modifier and Type Method Description void
ArrayEnumList. addAll(E[] values)
Loads an array of elements in the listvoid
ArrayKeyList. addAll(E[] values)
Loads an array of elements in the liststatic void
Key. checkIfValid(Key key)
Checks if key passed as argument is notnull
and its value is notnull
as well.
If not, throw aIllegalArgumentException
.static int
Key. compare(Key k1, Key k2)
Compares the two specified key values.static boolean
Key. equals(Key k1, Key k2)
Returnstrue
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>
TNativeObjectContainer. 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>
TKey. getKeyByValue(T[] enumValues, String value)
Returns a key in the an enumeration by the value.static <T extends Key>
TKey. 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 NativeBaseEvent
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 double
NativeObjectContainer. getValue(Key key, double defaultValue)
Returns a value (double) 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, String defaultValue)
Returns a value (string) 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 String
NativeObjectContainer. getValue(Key key, Key defaultValue)
Returns a value (string) 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 Img
NativeObjectContainer. getValue(Key key, Img defaultValue)
Returns a value (image) 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 <T extends Key>
TNativeObjectContainer. getValue(Key key, T[] enumValues, T defaultValue)
Returns a value (key) in the embedded JavaScript object at specific property.protected <T extends Key>
TNativeObjectContainer. getValue(Key key, T[] enumValues, T defaultValue)
Returns a value (key) in the embedded JavaScript object at specific property.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 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 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 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, 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 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 ArrayObject
NativeObjectContainer. getValueOrArray(Key key, NativeObjectContainer 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 object.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 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 boolean
NativeObjectContainer. has(Key key)
Returns true if the embedded JavaScript object contains an element at specific property.protected boolean
NativeObjectContainer. has(Key... keys)
Returns true if the embedded JavaScript object contains an element at all properties.static <T extends Key>
booleanKey. hasKeyByValue(T[] enumValues, String value)
Returnstrue
if a key in the an enumeration is related to the value, otherwisefalse
.boolean
JsHelper. isCanvas(NativeObjectContainer object, Key key)
Returnstrue
if the object is aCanvas
.boolean
JsHelper. isImage(NativeObjectContainer object, Key key)
Returnstrue
if the object is aImg
.boolean
NativeObjectContainer. isType(Key key, ObjectType... types)
Returnstrue
if the type of the property is equals to one of the object types passed as argument.static boolean
Key. isValid(Key key)
Returnstrue
if key passed as argument is notnull
and its value is notnull
as well.static <E extends Key>
ArrayEnumList<E>ArrayListHelper. list(E[] enumValues, E[] values)
Creates a array list of enumeration values (instance ofKey
).static <E extends Key>
ArrayEnumList<E>ArrayListHelper. list(E[] enumValues, ArrayString array)
Creates a array list of enumeration values by an java script array of strings.protected void
NativeObjectContainer. remove(Key key)
Removes an element (by key) from the embedded JavaScript object.protected void
NativeObjectContainer. remove(Key... keys)
Removes a set of elements (by keys) 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>
voidNativeObjectContainer. setArrayValue(Key key, T value)
Sets a value (Array) 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
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>
voidAbstractNode. setArrayValueAndAddToParent(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
PropertyHandler. 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>
voidPropertyHandler. 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, NativeCallback callback)
Adds a native callback function to a model at the specific key.protected void
AbstractNode. setInternalCallbackToModel(AbstractNode model, Key key, CallbackProxy.Proxy proxy)
Adds a proxy function to a model at the specific key.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, double value)
Sets a value (double) 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, String value)
Sets a value (string) 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, NativeCallback value)
Sets a value (native callback function) 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, CallbackProxy.Proxy value)
Sets a value (callback proxy function) 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, 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, 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, Img value)
Sets a value (image) in the embedded JavaScript object at specific property.protected void
NativeObjectContainer. setValue(Key key, NativeBaseEvent value)
Sets a value (event) in the embedded JavaScript object at specific property.protected void
NativeObjectContainer. setValue(Key key, NativeHook value)
Sets a value (native hook function for plugin) in the embedded JavaScript object at specific property.protected <T extends Key>
voidNativeObjectContainer. setValue(Key key, T value)
Sets a value (EnumValue) 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
AbstractNode. setValueAndAddToParent(Key key, double value)
Sets a value (double) 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
AbstractNode. setValueAndAddToParent(Key key, String value)
Sets a value (string) 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
AbstractNode. setValueAndAddToParent(Key key, NativeCallback value)
Sets a value (callback function) 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
AbstractNode. 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, NativeArrayContainer<?> value)
Sets a value (JavaScript Object) in the embedded JavaScript object at specific property by array container.protected void
AbstractNode. setValueAndAddToParent(Key key, NativeObject value)
Sets a value (JavaScript Object) in the embedded JavaScript object at specific property.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
AbstractNode. setValueAndAddToParent(Key key, Canvas value)
Sets a value (canvas) 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
AbstractNode. setValueAndAddToParent(Key key, CanvasPatternItem value)
Sets a value (pattern) 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
AbstractNode. setValueAndAddToParent(Key key, NativeBaseEvent value)
Sets a value (event) in the embedded JavaScript object at specific property.protected void
AbstractNode. setValueAndAddToParent(Key key, NativeHook value)
Sets a value (hook function for plugin) in the embedded JavaScript object at specific property.protected <T extends Key>
voidAbstractNode. setValueAndAddToParent(Key key, T value)
Sets a value (EnumValue) 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
PropertyHandler. setValueAndAddToParent(Key key, double value)
Sets a value (double) 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
PropertyHandler. setValueAndAddToParent(Key key, String value)
Sets a value (string) 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
PropertyHandler. setValueAndAddToParent(Key key, NativeCallback value)
Sets a value (callback function) 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
PropertyHandler. 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, NativeArrayContainer<?> value)
Sets a value (JavaScript Object) in the embedded JavaScript object at specific property by array container.protected void
PropertyHandler. 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
PropertyHandler. 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
PropertyHandler. setValueAndAddToParent(Key key, CanvasPatternItem value)
Sets a value (pattern) 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
PropertyHandler. setValueAndAddToParent(Key key, NativeBaseEvent value)
Sets a value (event) in the embedded JavaScript object at specific property.protected void
PropertyHandler. setValueAndAddToParent(Key key, NativeHook value)
Sets a value (hook function for plugin) in the embedded JavaScript object at specific property.protected <T extends Key>
voidPropertyHandler. setValueAndAddToParent(Key key, T value)
Sets a value (EnumValue) in the embedded JavaScript object at specific property.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, 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, 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
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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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
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
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 ObjectType
NativeObjectContainer. type(Key key)
Returns the java script type of the property.static <E extends Key>
List<E>ArrayListHelper. unmodifiableList(E[] enumValues, E[] values)
Creates an unmodifiable array list of enumeration values (instance ofKey
).static <E extends Key>
List<E>ArrayListHelper. unmodifiableList(E[] enumValues, ArrayString array)
Creates an unmodifiable array list of enumeration values by an java script array of strings.Method parameters in org.pepstock.charba.client.commons with type arguments of type Key Modifier and Type Method Description static Key[]
ArrayUtil. toKeys(List<Key> list)
Returns an array of dates from a list.Constructors in org.pepstock.charba.client.commons with parameters of type Key Constructor Description AbstractNode(AbstractNode parent, Key childKey, NativeObject nativeObject)
Creates the object with the parent, the key of this element, default values and native object to map java script properties.AbstractReadOnlyPoint(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. -
Uses of Key in org.pepstock.charba.client.configuration
Subinterfaces of Key in org.pepstock.charba.client.configuration Modifier and Type Interface Description interface
AxisType
Represents the scale type of a scale/axis object.Methods in org.pepstock.charba.client.configuration that return types with arguments of type Key Modifier and Type Method Description List<Key>
Plugins. getAllIds()
Returns the unmodifiable list of registered plugin ids. -
Uses of Key in org.pepstock.charba.client.controllers
Classes in org.pepstock.charba.client.controllers that implement Key Modifier and Type Class Description class
ControllerType
Represent the type of new controller. -
Uses of Key in org.pepstock.charba.client.data
Classes in org.pepstock.charba.client.data that implement Key Modifier and Type Class Description protected static class
AbstractDataPoint.CharbaProperty
Name of properties of native object.
No private because it is used by time series itemprotected static class
AbstractXYDataPoint.XYProperty
Name of properties of native object.
No private because it is used by time series itemprotected static class
Dataset.CanvasObjectProperty
Name of common properties of native object related to a dataset.protected static class
Dataset.CommonProperty
Name of common properties of native object related to a dataset.Methods in org.pepstock.charba.client.data that return Key Modifier and Type Method Description Key
HasPointFillStrokeStyles. getPointFillStyleProperty()
Returns the property which is mapping the point fill style.Key
LiningDataset. getPointFillStyleProperty()
Key
HasPointFillStrokeStyles. getPointStrokeStyleProperty()
Returns the property which is mapping the point stroke style.Key
LiningDataset. getPointStrokeStyleProperty()
Methods in org.pepstock.charba.client.data with parameters of type Key Modifier and Type Method Description protected void
AbstractDataPoint. checkAndSetType(Key property, Key typeProperty, DataPointType type)
Checks the type of the property, setting the right type property.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>
TAbstractDataPoint. 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 integervoid
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.void
AbstractDataPoint. setAttribute(Key key, Date value)
Sets a custom field to data point.<T extends NativeObjectContainer>
voidAbstractDataPoint. setAttribute(Key key, T value)
Sets a custom field to data point.protected void
HoverDataset. setColors(Key key, String... colors)
protected void
HoverDataset. setColors(Key key, IsColor... 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
HoverFlexDataset. setColors(Key key, IsColor... 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. -
Uses of Key in org.pepstock.charba.client.datalabels
Subinterfaces of Key in org.pepstock.charba.client.datalabels Modifier and Type Interface Description interface
DataLabelId
Represents the label id of a label configuration object in theDataLabelsPlugin.ID
plugin.Methods in org.pepstock.charba.client.datalabels that return types with arguments of type Key Modifier and Type Method Description List<Key>
Labels. getLabelKeys()
Returns the list of all keys related to stored options. -
Uses of Key in org.pepstock.charba.client.datalabels.enums
Classes in org.pepstock.charba.client.datalabels.enums that implement Key Modifier and Type Class 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.class
Event
ThisDataLabelsPlugin.ID
plugin currently supports the below label events.
Charba events that need to be enabled in order to get the associated label event working. -
Uses of Key in org.pepstock.charba.client.dom.enums
Subinterfaces of Key in org.pepstock.charba.client.dom.enums Modifier and Type Interface Description interface
IsKeyboardKey
Maps a keyboard key methods.Classes in org.pepstock.charba.client.dom.enums that implement Key Modifier and Type Class 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
KeyboardCommonKey
Enumerates the common keys forNativeKeyboardEvent
.class
KeyboardEditingKey
Enumerates the editing keys forNativeKeyboardEvent
.class
KeyboardEventType
Enumerates the DOM event type of the keyboard.class
KeyboardFunctionKey
Enumerates the function keys forNativeKeyboardEvent
.class
KeyboardModifierKey
Enumerates the modifiers which are special keys which are used to generate special characters or cause special actions when used in combination with other keys.class
KeyboardNavigationKey
Enumerates the navigation keys forNativeKeyboardEvent
.class
KeyboardUiKey
Enumerates the user interface keys forNativeKeyboardEvent
.class
KeyboardWhitespaceKey
Enumerates the whitespace keys forNativeKeyboardEvent
.class
MouseEventType
Enumerates the DOM event type of the mouse.class
MutationType
Enumerates all types which can be set in the aMutationObserver
and consumable byMutationRecord.getType()
.class
PointerEventType
Enumerates the DOM event type of the pointer (mouse, touch and pen).class
PointerType
Enumerates the device type (mouse, pen, or touch) that caused a given pointer event.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
TouchEventType
Enumerates the DOM event type of the touch.class
Unit
Enumerates the unit of measure for sizes. -
Uses of Key in org.pepstock.charba.client.enums
Subinterfaces of Key in org.pepstock.charba.client.enums Modifier and Type Interface Description interface
IsFill
Represents how to fill the area under the line.interface
IsTooltipPosition
Defines an object which represents the positioning of the tooltip.Classes in org.pepstock.charba.client.enums that implement Key Modifier and Type Class 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
AnimationEventType
Enumerates the animation event type.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 onBarDataset
.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
DataPointType
Enumeration with all possible types of data inDataPoint
.class
DataType
Enumeration with all possible types of data set in the dataset.class
DecimationAlgorithm
Enumerates the possible algorithm thatDefaultPluginId.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
Display
The display option controls the visibility of axis and the display option controls the visibility of data labels plugin.
Controls the axis global visibility (visible when true, hidden when false).class
DrawTime
Defines when the filler will fill the data sets.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
Defines which directions are used in calculating distances, interacting on the chart.
Defaults toInteractionAxis.X
forInteractionMode.INDEX
mode andInteractionAxis.XY
inInteractionMode.DATASET
andInteractionMode.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
Position
Property to set the position's edge of an element to a unit above/below its normal position.class
RegressionType
Enumerates the available regression types.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
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
TickAlign
Property to set alignment of the ticks.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.Methods in org.pepstock.charba.client.enums with parameters of type Key Modifier and Type Method 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)
Returnstrue
if the argument is equals to a default plugin id.
TheDefaultPluginId.FILLER
is not considered a default plugin because does not have a specific namespace in the options. -
Uses of Key in org.pepstock.charba.client.events
Classes in org.pepstock.charba.client.events that implement Key Modifier and Type Class 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. -
Uses of Key in org.pepstock.charba.client.geo
Methods in org.pepstock.charba.client.geo that return types with arguments of type Key Modifier and Type Method 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.Methods in org.pepstock.charba.client.geo with parameters of type Key Modifier and Type Method Description static Feature
GeoUtil. feature(String topojson, Key featureProperty, FeatureFindCallback findCallback)
Reads the topoJson definition and find a specific feature to enable outline.static Feature
GeoUtil. feature(TopoJson topojson, Key featureProperty, FeatureFindCallback findCallback)
Reads the topoJson definition and find a specific feature to enable outline.static Feature
GeoUtil. feature(AbstractInjectableResource topojson, Key featureProperty, FeatureFindCallback findCallback)
Reads the topoJson definition and find a specific feature to enable outline.static List<Feature>
GeoUtil. features(String topojson, Key featureProperty)
Reads the topoJson definition and creates a list of features to enable regions drawing.static List<Feature>
GeoUtil. features(String topojson, Key featureProperty, FeatureFilterCallback filterCallback)
Reads the topoJson definition and creates a list of features to enable regions drawing.static List<Feature>
GeoUtil. features(TopoJson topojson, Key featureProperty)
Reads the topoJson definition and creates a list of features to enable regions drawing.static List<Feature>
GeoUtil. features(TopoJson topojson, Key featureProperty, FeatureFilterCallback filterCallback)
Reads the topoJson definition and creates a list of features to enable regions drawing.static List<Feature>
GeoUtil. features(AbstractInjectableResource topojson, Key featureProperty)
Reads the topoJson definition and creates a list of features to enable regions drawing.static List<Feature>
GeoUtil. features(AbstractInjectableResource 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)
Returnstrue
if the properties contain an element at specific property.static Labels
GeoUtil. loadLabels(List<Feature> features, Key property)
Creates and loads aLabels
object with the label of feature object by the property. -
Uses of Key in org.pepstock.charba.client.geo.enums
Classes in org.pepstock.charba.client.geo.enums that implement Key Modifier and Type Class Description class
Align
Enumerates the align options to define the position of the scale.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
Position
Property to set the position of the legend on the chart area.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. -
Uses of Key in org.pepstock.charba.client.gradient
Methods in org.pepstock.charba.client.gradient that return Key Modifier and Type Method Description Key
PropertyOptions. getName()
Returns the property name of this configuration.Methods in org.pepstock.charba.client.gradient that return types with arguments of type Key Modifier and Type Method Description Map<Key,String>
Colors. toMap()
Exports the values and the colors in a map.Method parameters in org.pepstock.charba.client.gradient with type arguments of type Key Modifier and Type Method Description boolean
Colors. addMap(Map<Key,String> toAdd)
Adds a map of values and colors to the colors container.boolean
Colors. loadMap(Map<Key,String> toLoad)
Loads a map of values and colors to the colors container, removing all existing values. -
Uses of Key in org.pepstock.charba.client.impl.plugins
Subinterfaces of Key in org.pepstock.charba.client.impl.plugins Modifier and Type Interface 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. -
Uses of Key in org.pepstock.charba.client.impl.plugins.enums
Classes in org.pepstock.charba.client.impl.plugins.enums that implement Key Modifier and Type Class Description class
Align
Property to set the selection cleaner element alignment.class
BrewerScheme
Contains all scheme definitions to map the Color Brewer schemes.
To configureColorSchemes.ID
plugin, where category is "brewer".
Every color scheme has a number at the end of its name, which indicates the number of that colors included in the scheme.class
DatasetSeletionEventType
Enumerates the selection event type of theDatasetsItemsSelector
plugin.class
GoogleChartScheme
Contains all scheme definitions to map the Google chart schemes.
To configureColorSchemes.ID
plugin, where category is "googlechart".
Every color scheme has a number at the end of its name, which indicates the number of that colors included in the scheme.
If the number of the datasets is larger than it, the same colors will appear repeatedly.
A color is not modified if it is specified by dataset options.class
GwtMaterialScheme
Contains all scheme definitions to map the GWT material schemes.
To configureColorSchemes.ID
plugin, where category is "gwtmaterial".
Every color scheme has a number at the end of its name, which indicates the number of that colors included in the scheme.class
OfficeScheme
Contains all scheme definitions to map the Microsoft Office schemes.
To configureColorSchemes.ID
plugin, where category is "office".
Every color scheme has a number at the end of its name, which indicates the number of that colors included in the scheme.class
PointerElement
The elements of the chart in scope ofChartPointer.ID
plugin.class
Render
Enumeration of available render to use to configure selection cleaner element.class
SchemeScope
Enumerates the possible values to address coloring of BAR or BUBBLE datasets by a color scheme.class
TableauScheme
Contains all scheme definitions to map the Tableau schemes.
To configureColorSchemes.ID
plugin, where category is "tableau".
Every color scheme has a number at the end of its name, which indicates the number of that colors included in the scheme. -
Uses of Key in org.pepstock.charba.client.intl
Subinterfaces of Key in org.pepstock.charba.client.intl Modifier and Type Interface 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.Classes in org.pepstock.charba.client.intl that implement Key Modifier and Type Class 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. -
Uses of Key in org.pepstock.charba.client.intl.enums
Classes in org.pepstock.charba.client.intl.enums that implement Key Modifier and Type Class 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 callingAbstractFormat.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 theDateTimeFormatOptions.setFormatMatcher(org.pepstock.charba.client.intl.enums.FormatMatcher)
property.class
FormatPartType
Enumerates the possible types of aFormatPart
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. -
Uses of Key in org.pepstock.charba.client.items
Classes in org.pepstock.charba.client.items with type parameters of type Key Modifier and Type Class Description class
BaseBoxNodeItem<T extends Key>
Base object which maps the CHART.JS chart items and represents main nodes of chart java script object.
This is a wrapper of the CHART.JS item with all needed info.
Implements allget
methods to change java script object properties.Classes in org.pepstock.charba.client.items that implement Key Modifier and Type Class Description protected static class
LegendTextHandler.Property
Name of properties of native object.Methods in org.pepstock.charba.client.items with type parameters of type Key Modifier and Type Method Description <T extends Key>
TElementProperties. getEnumeratedValue(Key key, T[] enumValues)
Returns a value (key) in the embedded JavaScript object at specific property.<T extends Key>
List<T>ElementProperties. getEnumeratedValues(Key key, T[] enumValues)
Returns a value (list ofKey
) in the embedded JavaScript object at specific property.Methods in org.pepstock.charba.client.items that return types with arguments of type Key Modifier and Type Method Description List<Key>
ElementProperties. getProperties()
Returns the properties of this object.Methods in org.pepstock.charba.client.items with parameters of type Key Modifier and Type Method Description boolean
ElementProperties. getBooleanValue(Key key)
Returns a value (boolean) in the embedded JavaScript object at specific property.CanvasGradientItem
ElementProperties. getCanvasGradientValue(Key key)
Returns a value ((CanvasGradientItem
)) in the embedded JavaScript object at specific property.CanvasPatternItem
ElementProperties. getCanvasPatternValue(Key key)
Returns a value (CanvasPatternItem
) in the embedded JavaScript object at specific property.Canvas
ElementProperties. getCanvasValue(Key key)
Returns a value (canvas) in the embedded JavaScript object at specific property.Date
ElementProperties. getDateValue(Key key)
Returns a value (date) in the embedded JavaScript object at specific property.double
ElementProperties. getDoubleValue(Key key)
Returns a value (double) in the embedded JavaScript object at specific property.List<Double>
ElementProperties. getDoubleValues(Key key)
Returns a value (list of doubles) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a double.<T extends Key>
TElementProperties. getEnumeratedValue(Key key, T[] enumValues)
Returns a value (key) in the embedded JavaScript object at specific property.<T extends Key>
TElementProperties. getEnumeratedValue(Key key, T[] enumValues)
Returns a value (key) in the embedded JavaScript object at specific property.<T extends Key>
List<T>ElementProperties. getEnumeratedValues(Key key, T[] enumValues)
Returns a value (list ofKey
) in the embedded JavaScript object at specific property.<T extends Key>
List<T>ElementProperties. getEnumeratedValues(Key key, T[] enumValues)
Returns a value (list ofKey
) in the embedded JavaScript object at specific property.ElementProperties
ChartElement. getFinalPositionProps(Key... keys)
Returns the list of properties of the element, using the final position.BaseHtmlElement
ElementProperties. getHtmlElementValue(Key key)
Returns a value (BaseHtmlElement) in the embedded JavaScript object at specific property.Img
ElementProperties. getImgValue(Key key)
Returns a value (image) in the embedded JavaScript object at specific property.int
ElementProperties. getIntValue(Key key)
Returns a value (int) in the embedded JavaScript object at specific property.List<Integer>
ElementProperties. getIntValues(Key key)
Returns a value (list of integers) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a integer.ObjectType
ElementProperties. getPropertyType(Key key)
Returns the java script type of the property.String
ElementProperties. getStringValue(Key key)
Returns a value (string) in the embedded JavaScript object at specific property.List<String>
ElementProperties. getStringValues(Key key)
Returns a value (list of strings) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a string.Method parameters in org.pepstock.charba.client.items with type arguments of type Key Modifier and Type Method Description ElementProperties
ChartElement. getFinalPositionProps(List<Key> keys)
Returns the list of properties of the element, using the final position.Constructors in org.pepstock.charba.client.items with parameters of type Key Constructor Description ChartElement(AbstractNode parent, Key childKey, String type, NativeObject nativeObject)
Creates the object with the parent, the key of this element, default values and native object to map java script properties.ChartElementOptions(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. -
Uses of Key in org.pepstock.charba.client.labels
Subinterfaces of Key in org.pepstock.charba.client.labels Modifier and Type Interface Description interface
LabelId
Represents the label id of a label configuration object in theLabelsPlugin.ID
plugin.Methods in org.pepstock.charba.client.labels with parameters of type Key Modifier and Type Method Description protected boolean
LabelsContext. checkIfPropertyIsValid(Key property)
-
Uses of Key in org.pepstock.charba.client.labels.enums
Classes in org.pepstock.charba.client.labels.enums that implement Key Modifier and Type Class Description class
Position
Enumeration of available positions to use to configureLabelsPlugin.ID
plugin.class
Render
Enumeration of available render to use to configureLabelsPlugin.ID
plugin. -
Uses of Key in org.pepstock.charba.client.matrix.enums
Classes in org.pepstock.charba.client.matrix.enums that implement Key Modifier and Type Class Description class
Anchor
An anchor point is defined by an orientation vector and a position on the data element. -
Uses of Key in org.pepstock.charba.client.options
Subinterfaces of Key in org.pepstock.charba.client.options Modifier and Type Interface 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
IsEvent
RepresentstThe events option defines the browser events that the chart, legend, tooltip or plugins should listen to.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.Classes in org.pepstock.charba.client.options that implement Key Modifier and Type Class 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.Methods in org.pepstock.charba.client.options that return Key Modifier and Type Method Description Key
AbstractElementFactory. getElementKey()
Key
ElementFactory. getElementKey()
Returns the object key of the element.Methods in org.pepstock.charba.client.options that return types with arguments of type Key Modifier and Type Method Description List<Key>
Plugins. getAllIds()
Returns the unmodifiable list of registered plugin ids.Methods in org.pepstock.charba.client.options with parameters of type Key Modifier and Type Method 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, NativeCallback callback)
Adds a native callback function to a element node instance.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, NativeCallback callback)
Adds a native callback 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.protected void
AbstractModel. setCallbackToModel(AbstractNode model, Key key, NativeCallback callback)
Adds a native callback function to a model at the specific key.protected void
AbstractModel. setCallbackToModel(AbstractNode model, Key key, CallbackProxy.Proxy proxy)
Adds a proxy function (for callbacks) 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.Constructors in org.pepstock.charba.client.options with parameters of type Key Constructor Description AbstractElementFactory(Key elementKey)
Creates the factory by the key of object.AnimationTransition(Key childKey, IsDefaultAnimationTransition defaultValues, ChartEnvelop<NativeObject> envelop, String scope)
Creates an animation transitions container for theUpdateConfiguration
.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. -
Uses of Key in org.pepstock.charba.client.plugins
Classes in org.pepstock.charba.client.plugins that implement Key Modifier and Type Class Description protected static class
AbstractPluginOptions.Property
Name of properties of native object.Methods in org.pepstock.charba.client.plugins that return Key Modifier and Type Method Description static Key
PluginIdChecker. key(String id)
Creates a key by the plugin id as stringConstructors in org.pepstock.charba.client.plugins with parameters of type Key Constructor Description AbstractPluginOptions(String pluginId, AbstractNode parent, Key childKey, NativeObject nativeObject, boolean createUniqueId)
Creates the object with the parent, the key of this element, default values and native object to map java script properties. -
Uses of Key in org.pepstock.charba.client.positioner
Classes in org.pepstock.charba.client.positioner that implement Key Modifier and Type Class 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. -
Uses of Key in org.pepstock.charba.client.resources
Classes in org.pepstock.charba.client.resources that implement Key Modifier and Type Class Description class
ResourceName
Enumerates the constants names to use as element id for scripts, mandatory to CHARBA to work properly.Constructors in org.pepstock.charba.client.resources with parameters of type Key Constructor 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, com.google.gwt.resources.client.TextResource resource)
Creates an injectable resources using the text of it and the name as key, passed as argument. -
Uses of Key in org.pepstock.charba.client.sankey
Methods in org.pepstock.charba.client.sankey that return Key Modifier and Type Method Description Key
SankeyDataPoint. getFromAsKey()
Returns from value asKey
.Key
SankeyDataPoint. getToAsKey()
Returns to value asKey
.Methods in org.pepstock.charba.client.sankey with parameters of type Key Modifier and Type Method Description 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
Labels. set(Key nodeKey, String 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
SankeyDataPoint. setFrom(Key from)
Sets from value as key.void
SankeyDataPoint. setTo(Key to)
Sets to value as key.Constructors in org.pepstock.charba.client.sankey with parameters of type Key Constructor Description SankeyDataPoint(String 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(Key from, Key to, double flow)
Creates the object with the passed point values. -
Uses of Key in org.pepstock.charba.client.sankey.enums
Classes in org.pepstock.charba.client.sankey.enums that implement Key Modifier and Type Class 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. -
Uses of Key in org.pepstock.charba.client.treemap
Methods in org.pepstock.charba.client.treemap that return Key Modifier and Type Method Description Key
TreeMapDataset. getKey()
Returns 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.Key
TreeMapDataset. getTreeLeafKey()
Returns the name of the key where the object key of leaf node of tree object is stored.
Used only when `tree` is an `object`, as hierarchical data.Methods in org.pepstock.charba.client.treemap that return types with arguments of type Key Modifier and Type Method Description Set<Key>
TreeMapDataset. getGroups()
Returns 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.Methods in org.pepstock.charba.client.treemap with parameters of type Key Modifier and Type Method Description double
InnerData. getAttribute(Key key)
Returns a custom field value from data point.Date
InnerData. getAttributeAsDate(Key key)
Returns a custom field value from data point.<T extends NativeObjectContainer>
TInnerData. getAttributeAsObject(Key key, NativeObjectContainerFactory<T> factory)
Returns a custom field value from data point.String
InnerData. getAttributeAsString(Key key)
Returns a custom field value from data point.void
TreeMapDataset. setGroups(Key... groups)
Sets 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 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.void
TreeMapDataset. setTreeLeafKey(Key key)
Sets the name of the key where the object key of leaf node of tree object is stored.
Used only when `tree` is an `object`, as hierarchical data.Method parameters in org.pepstock.charba.client.treemap with type arguments of type Key Modifier and Type Method Description void
TreeMapDataset. setGroups(Set<Key> groups)
Sets 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. -
Uses of Key in org.pepstock.charba.client.treemap.enums
Classes in org.pepstock.charba.client.treemap.enums that implement Key Modifier and Type Class Description class
Align
The align property specifies the text horizontal alignment used when drawing the label.class
Overflow
The overflow property controls what happens to a label that is too big to fit into a rectangle.class
Position
The position property specifies the text vertical alignment used when drawing the label. -
Uses of Key in org.pepstock.charba.client.utils.toast
Subinterfaces of Key in org.pepstock.charba.client.utils.toast Modifier and Type Interface Description interface
IsProgressBarType
Defines a toast progress bar type.interface
IsToastType
Defines a toast type.Methods in org.pepstock.charba.client.utils.toast that return Key Modifier and Type Method Description Key
ActionItem. getId()
Returns the action unique id.Key
ToastItemAction. getId()
Returns the action unique id.Methods in org.pepstock.charba.client.utils.toast with parameters of type Key Modifier and Type Method Description static ProgressBarTypeBuilder
ProgressBarTypeBuilder. create(Key name, String backgroundColor)
Returns new builder instance, to build a custom toast type.static ProgressBarTypeBuilder
ProgressBarTypeBuilder. 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, String backgroundColor)
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.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, Gradient gradient)
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.Constructors in org.pepstock.charba.client.utils.toast with parameters of type Key Constructor Description 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.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. -
Uses of Key in org.pepstock.charba.client.utils.toast.enums
Classes in org.pepstock.charba.client.utils.toast.enums that implement Key Modifier and Type Class Description class
Align
The align option defines the position of the toast actions.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 ofToastItem
. -
Uses of Key in org.pepstock.charba.client.zoom
Methods in org.pepstock.charba.client.zoom with parameters of type Key Modifier and Type Method Description protected boolean
ZoomContext. checkIfPropertyIsValid(Key property)
-
Uses of Key in org.pepstock.charba.client.zoom.enums
Classes in org.pepstock.charba.client.zoom.enums that implement Key Modifier and Type Class Description class
DrawTime
Defines when the drag rectangle is drawn.class
Mode
Defines which directions are used for panning and zooming.
-