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.IDplugin (AKAchartjs-plugin-annotation.js) for CHART.js.org.pepstock.charba.client.annotation.enums Contains all enumerations to configure theAnnotationPlugin.IDplugin.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.IDplugin (AKAchartjs-plugin-datalabels.js) for CHART.js.org.pepstock.charba.client.datalabels.enums Contains all enumerations to configure theDataLabelsPlugin.IDplugin.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.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.IDplugin (AKAchartjs-plugin-labels.js) available for CHART.JS.org.pepstock.charba.client.labels.enums Contains all enumerations to configure theLabelsPlugin.IDplugin.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 theTreeMapChartcontroller.org.pepstock.charba.client.utils.toast Contains all classes to useToasterutility.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.IDplugin (AKAchartjs-plugin-zoom.js) for CHART.js. -
-
Uses of Key in org.pepstock.charba.client
Subinterfaces of Key in org.pepstock.charba.client Modifier and Type Interface Description interfaceTypeInterface to map the type and scale type of a chart.Classes in org.pepstock.charba.client that implement Key Modifier and Type Class Description classChartTypeEnumerates 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 interfaceAnnotationIdRepresents the annotation id of a annotation configuration object in theAnnotationPlugin.IDplugin.Classes in org.pepstock.charba.client.annotation that implement Key Modifier and Type Class Description classAnnotationTypeDefines 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 classDrawTimeDefines when the annotations are drawn.
This allows positioning of the annotation relative to the other elements of the graph.classEventMouse events to enable on each annotation.classLabelPositionProperty 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>
TScriptableUtils. 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>
TScriptableUtils. 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 booleanAbstractDatasetContext. checkIfPropertyIsValid(Key property)protected booleanChartContext. checkIfPropertyIsValid(Key property)Checks if the key passed as argument is a key already used for other context properties.protected booleanScaleContext. checkIfPropertyIsValid(Key property)protected booleanSegmentContext. checkIfPropertyIsValid(Key property)protected booleanTooltipContext. checkIfPropertyIsValid(Key property)booleanChartContext. getAttribute(Key key, boolean defaultValue)Returns a custom field value from data point.doubleChartContext. getAttribute(Key key, double defaultValue)Returns a custom field value from data point.intChartContext. getAttribute(Key key, int defaultValue)Returns a custom field value from data point.StringChartContext. getAttribute(Key key, String defaultValue)Returns a custom field value from data point.voidChartContext. setAttribute(Key key, boolean value)Sets a custom field to data point.voidChartContext. setAttribute(Key key, double value)Sets a custom field to data point.voidChartContext. setAttribute(Key key, int value)Sets a custom field to data point.voidChartContext. 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 classGradientOrientationRepresents the gradient orientation for gradient.
Every orientation contains also on which gradient type can be applied.classGradientScopeA 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.classGradientTypeA 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 KeyCanvasObjectFactory. 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 interfaceIsShapeDefines a shape to draw on the tile.Classes in org.pepstock.charba.client.colors.tiles that implement Key Modifier and Type Class Description classCharacterShapeThis 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):classImageShapeThis 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.classShapeEnumerates 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 classArrayEnumList<E extends Key>The user of this interface has precise control over where in the list each element is inserted.classArrayKeyList<E extends Key>The user of this interface has precise control over where in the list each element is inserted.classArrayKeySet<E extends Key>A collection that contains no duplicate elements.
More formally, sets contain no pair of elementse1ande2such thate1.equals(e2), and at most one null element.interfaceKeyFactory<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 interfacePropertyKeyRepresents the key of property of a java-script object.Classes in org.pepstock.charba.client.commons that implement Key Modifier and Type Class Description classIdEnums the property ID used by CHARBA to identify the chart.classStandardKeyThis is a standard implementation of a key of property inside a Java script object.
The standard is the key name is a String.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 notnulland its value is notnullas 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)Returnstrueif 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 ofKeyvalues 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 ofKeyvalues 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 ofKeyvalues 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 ofKeyvalues by an java script array of strings.Methods in org.pepstock.charba.client.commons that return Key Modifier and Type Method Description static KeyKey. create(String key)Returns a key instance by its string value.protected KeyAbstractNode. getChildKey()Returns the property name to use to add this element to its parent.KeyCallbackPropertyHandler. getHashCodeProperty()Returns the property key used to store the class name plus hash code, as key of callback instance in the cache.KeyCallbackPropertyHandler. getProperty()Returns the property key to manageMethods 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 voidArrayEnumList. addAll(E[] values)Loads an array of elements in the listvoidArrayKeyList. addAll(E[] values)Loads an array of elements in the liststatic voidKey. checkIfValid(Key key)Checks if key passed as argument is notnulland its value is notnullas well.
If not, throw aIllegalArgumentException.static intKey. compare(Key k1, Key k2)Compares the two specified key values.static booleanKey. equals(Key k1, Key k2)Returnstrueif the keys have got the same value.static ArrayStringArrayString. fromOrEmpty(boolean asSet, Key... items)Creates a java script array of strings starting from array of keys.static ArrayStringArrayString. fromOrEmpty(Key... items)Creates a java script array of strings starting from array of keys.static ArrayStringArrayString. fromOrNull(boolean asSet, Key... items)Creates a java script array of strings starting from array of keys.static ArrayStringArrayString. 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.booleanJsHelper. getBooleanProperty(Key key, NativeObject nativeObject)Returns the property value from java script object, when it is stored as boolean.protected BaseHtmlElementNativeObjectContainer. getElement(Key key)Returns a value (BaseHtmlElement) in the embedded JavaScript object at specific property.intJsHelper. 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 ChartNativeObjectContainer. getNativeChart(Key key)Returns a value (chart) in the embedded JavaScript object at specific property.protected BaseNativeEventNativeObjectContainer. getNativeEvent(Key key)Returns a value (native event) in the embedded JavaScript object at specific property.StringJsHelper. getStringProperty(Key key, NativeObject nativeObject)Returns the property value from java script object, when the ID is stored as string.protected NativeObjectNativeObjectContainer. getValue(Key key)Returns a value (JavaScript Object) in the embedded JavaScript object at specific property.protected booleanNativeObjectContainer. getValue(Key key, boolean defaultValue)Returns a value (boolean) in the embedded JavaScript object at specific property.protected doubleNativeObjectContainer. getValue(Key key, double defaultValue)Returns a value (double) in the embedded JavaScript object at specific property.protected intNativeObjectContainer. getValue(Key key, int defaultValue)Returns a value (int) in the embedded JavaScript object at specific property.protected StringNativeObjectContainer. getValue(Key key, String defaultValue)Returns a value (string) in the embedded JavaScript object at specific property.protected DateNativeObjectContainer. getValue(Key key, Date defaultValue)Returns a value (date) in the embedded JavaScript object at specific property.protected StringNativeObjectContainer. getValue(Key key, Key defaultValue)Returns a value (string) in the embedded JavaScript object at specific property.protected CanvasNativeObjectContainer. getValue(Key key, Canvas defaultValue)Returns a value (canvas) in the embedded JavaScript object at specific property.protected CanvasGradientItemNativeObjectContainer. getValue(Key key, CanvasGradientItem defaultValue)Returns a value (gradient) in the embedded JavaScript object at specific property.protected CanvasPatternItemNativeObjectContainer. getValue(Key key, CanvasPatternItem defaultValue)Returns a value (pattern) in the embedded JavaScript object at specific property.protected ImgNativeObjectContainer. getValue(Key key, Img defaultValue)Returns a value (image) in the embedded JavaScript object at specific property.protected ScaleIdNativeObjectContainer. 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 doubleNativeObjectContainer. getValueForMultipleKeyTypes(Key key, double defaultsValue)Returns the value of a property checking if the type of current value is a NUMBER.protected StringNativeObjectContainer. getValueForMultipleKeyTypes(Key key, String defaultsValue)Returns the value of a property checking if the type of current value is a STRING.protected DateNativeObjectContainer. 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 ArrayDoubleNativeObjectContainer. 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 ArrayIntegerNativeObjectContainer. 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 ArrayStringNativeObjectContainer. 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 ArrayStringNativeObjectContainer. 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 ArrayCanvasNativeObjectContainer. 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 ArrayGradientNativeObjectContainer. 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 ArrayPatternNativeObjectContainer. 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 ArrayImageNativeObjectContainer. 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 booleanNativeObjectContainer. has(Key key)Returns true if the embedded JavaScript object contains an element at specific property.protected booleanNativeObjectContainer. 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)Returnstrueif a key in the an enumeration is related to the value, otherwisefalse.booleanJsHelper. isCanvas(NativeObjectContainer object, Key key)Returnstrueif the object is aCanvas.booleanJsHelper. isImage(NativeObjectContainer object, Key key)Returnstrueif the object is aImg.protected booleanNativeObjectContainer. isType(Key key, ObjectType... types)Returnstrueif the type of the property is equals to one of the object types passed as argument.static booleanKey. isValid(Key key)Returnstrueif key passed as argument is notnulland its value is notnullas 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 voidNativeObjectContainer. remove(Key key)Removes an element (by key) from the embedded JavaScript object.protected voidNativeObjectContainer. remove(Key... keys)Removes a set of elements (by keys) from the embedded JavaScript object.protected voidNativeObjectContainer. setArrayValue(Key key, ArrayDoubleArrayList<?> container)Sets a value (Array from a double array container list) in the embedded JavaScript object at specific property.protected voidNativeObjectContainer. 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 voidAbstractNode. setArrayValueAndAddToParent(Key key, ArrayDoubleArrayList<?> container)Sets a value (Array from a double array container list) in the embedded JavaScript object at specific property.protected voidAbstractNode. 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 voidPropertyHandler. setArrayValueAndAddToParent(Key key, ArrayDoubleArrayList<?> container)Sets a value (Array from a double array container list) in the embedded JavaScript object at specific property.protected voidPropertyHandler. 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 voidNativeObjectContainer. setElement(Key key, BaseHtmlElement value)Sets a value (BaseHtmlElement) in the embedded JavaScript object at specific property.protected voidAbstractNode. setElementAndAddToParent(Key key, BaseHtmlElement value)Sets a value (BaseHtmlElement) in the embedded JavaScript object at specific property.protected voidNativeObjectContainer. setEmptyValue(Key key)Sets a value (an empty JavaScript Object) in the embedded JavaScript object at specific property.protected voidAbstractNode. setInternalCallbackToModel(AbstractNode model, Key key, NativeCallback callback)Adds a native callback function to a model at the specific key.protected voidAbstractNode. setInternalCallbackToModel(AbstractNode model, Key key, CallbackProxy.Proxy proxy)Adds a proxy function to a model at the specific key.protected voidNativeObjectContainer. setValue(Key key, boolean value)Sets a value (boolean) in the embedded JavaScript object at specific property.protected voidNativeObjectContainer. setValue(Key key, double value)Sets a value (double) in the embedded JavaScript object at specific property.protected voidNativeObjectContainer. setValue(Key key, int value)Sets a value (int) in the embedded JavaScript object at specific property.protected voidNativeObjectContainer. setValue(Key key, String value)Sets a value (string) in the embedded JavaScript object at specific property.protected voidNativeObjectContainer. setValue(Key key, Date value)Sets a value (date) in the embedded JavaScript object at specific property.protected voidNativeObjectContainer. setValue(Key key, NativeCallback value)Sets a value (native callback function) in the embedded JavaScript object at specific property.protected voidNativeObjectContainer. setValue(Key key, Chart value)Sets a value (chart) in the embedded JavaScript object at specific property.protected voidNativeObjectContainer. setValue(Key key, CallbackProxy.Proxy value)Sets a value (callback proxy function) in the embedded JavaScript object at specific property.protected voidNativeObjectContainer. setValue(Key key, NativeArrayContainer<?> value)Sets a value (JavaScript Object) in the embedded JavaScript object at specific property by array container.protected voidNativeObjectContainer. setValue(Key key, NativeObject value)Sets a value (JavaScript Object) in the embedded JavaScript object at specific property.protected voidNativeObjectContainer. setValue(Key key, NativeObjectContainer value)Sets a value (JavaScript Object) in the embedded JavaScript object at specific property by object container.protected voidNativeObjectContainer. setValue(Key key, BaseNativeEvent value)Sets a value (event) in the embedded JavaScript object at specific property.protected voidNativeObjectContainer. setValue(Key key, Canvas value)Sets a value (canvas) in the embedded JavaScript object at specific property.protected voidNativeObjectContainer. setValue(Key key, CanvasGradientItem value)Sets a value (gradient) in the embedded JavaScript object at specific property.protected voidNativeObjectContainer. setValue(Key key, CanvasPatternItem value)Sets a value (pattern) in the embedded JavaScript object at specific property.protected voidNativeObjectContainer. setValue(Key key, Img value)Sets a value (image) 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 voidAbstractNode. setValueAndAddToParent(Key key, boolean value)Sets a value (boolean) in the embedded JavaScript object at specific property.protected voidAbstractNode. setValueAndAddToParent(Key key, double value)Sets a value (double) in the embedded JavaScript object at specific property.protected voidAbstractNode. setValueAndAddToParent(Key key, int value)Sets a value (int) in the embedded JavaScript object at specific property.protected voidAbstractNode. setValueAndAddToParent(Key key, String value)Sets a value (string) in the embedded JavaScript object at specific property.protected voidAbstractNode. setValueAndAddToParent(Key key, Date value)Sets a value (date) in the embedded JavaScript object at specific property.protected voidAbstractNode. setValueAndAddToParent(Key key, NativeCallback value)Sets a value (callback function) in the embedded JavaScript object at specific property.protected voidAbstractNode. setValueAndAddToParent(Key key, Chart value)Sets a value (chart) in the embedded JavaScript object at specific property.protected voidAbstractNode. setValueAndAddToParent(Key key, CallbackProxy.Proxy value)Sets a value (callback proxy function) in the embedded JavaScript object at specific property.protected voidAbstractNode. setValueAndAddToParent(Key key, NativeArrayContainer<?> value)Sets a value (JavaScript Object) in the embedded JavaScript object at specific property by array container.protected voidAbstractNode. setValueAndAddToParent(Key key, NativeObject value)Sets a value (JavaScript Object) in the embedded JavaScript object at specific property.protected voidAbstractNode. setValueAndAddToParent(Key key, NativeObjectContainer value)Sets a value (JavaScript Object) in the embedded JavaScript object at specific property by object container.protected voidAbstractNode. setValueAndAddToParent(Key key, BaseNativeEvent value)Sets a value (event) in the embedded JavaScript object at specific property.protected voidAbstractNode. setValueAndAddToParent(Key key, Canvas value)Sets a value (canvas) in the embedded JavaScript object at specific property.protected voidAbstractNode. setValueAndAddToParent(Key key, CanvasGradientItem value)Sets a value (gradient) in the embedded JavaScript object at specific property.protected voidAbstractNode. setValueAndAddToParent(Key key, CanvasPatternItem value)Sets a value (pattern) in the embedded JavaScript object at specific property.protected voidAbstractNode. setValueAndAddToParent(Key key, Img value)Sets a value (image) 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 voidPropertyHandler. setValueAndAddToParent(Key key, boolean value)Sets a value (boolean) in the embedded JavaScript object at specific property.protected voidPropertyHandler. setValueAndAddToParent(Key key, double value)Sets a value (double) in the embedded JavaScript object at specific property.protected voidPropertyHandler. setValueAndAddToParent(Key key, int value)Sets a value (int) in the embedded JavaScript object at specific property.protected voidPropertyHandler. setValueAndAddToParent(Key key, String value)Sets a value (string) in the embedded JavaScript object at specific property.protected voidPropertyHandler. setValueAndAddToParent(Key key, Date value)Sets a value (date) in the embedded JavaScript object at specific property.protected voidPropertyHandler. setValueAndAddToParent(Key key, NativeCallback value)Sets a value (callback function) in the embedded JavaScript object at specific property.protected voidPropertyHandler. setValueAndAddToParent(Key key, Chart value)Sets a value (chart) in the embedded JavaScript object at specific property.protected voidPropertyHandler. setValueAndAddToParent(Key key, CallbackProxy.Proxy value)Sets a value (callback proxy function) in the embedded JavaScript object at specific property.protected voidPropertyHandler. setValueAndAddToParent(Key key, NativeArrayContainer<?> value)Sets a value (JavaScript Object) in the embedded JavaScript object at specific property by array container.protected voidPropertyHandler. setValueAndAddToParent(Key key, NativeObject value)Sets a value (JavaScript Object) in the embedded JavaScript object at specific property.protected voidPropertyHandler. setValueAndAddToParent(Key key, NativeObjectContainer value)Sets a value (JavaScript Object) in the embedded JavaScript object at specific property by object container.protected voidPropertyHandler. setValueAndAddToParent(Key key, BaseNativeEvent value)Sets a value (event) in the embedded JavaScript object at specific property.protected voidPropertyHandler. setValueAndAddToParent(Key key, Canvas value)Sets a value (canvas) in the embedded JavaScript object at specific property.protected voidPropertyHandler. setValueAndAddToParent(Key key, CanvasGradientItem value)Sets a value (gradient) in the embedded JavaScript object at specific property.protected voidPropertyHandler. setValueAndAddToParent(Key key, CanvasPatternItem value)Sets a value (pattern) in the embedded JavaScript object at specific property.protected voidPropertyHandler. setValueAndAddToParent(Key key, Img value)Sets a value (image) 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 voidNativeObjectContainer. 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 voidNativeObjectContainer. 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 voidNativeObjectContainer. 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 voidNativeObjectContainer. 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 voidNativeObjectContainer. 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 voidNativeObjectContainer. 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 voidNativeObjectContainer. 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 voidNativeObjectContainer. 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 voidNativeObjectContainer. 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 voidNativeObjectContainer. 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 voidAbstractNode. 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 voidAbstractNode. 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 voidAbstractNode. 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 voidAbstractNode. 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 voidAbstractNode. 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 voidAbstractNode. 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 voidAbstractNode. 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 voidAbstractNode. 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 voidAbstractNode. 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 voidAbstractNode. 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 voidPropertyHandler. 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 voidPropertyHandler. 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 voidPropertyHandler. 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 voidPropertyHandler. 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 voidPropertyHandler. 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 voidPropertyHandler. 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 voidPropertyHandler. 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 voidPropertyHandler. 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 voidPropertyHandler. 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 voidPropertyHandler. 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 ObjectTypeNativeObjectContainer. 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.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.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 interfaceAxisTypeRepresents the scale type of a scale/axis object.Classes in org.pepstock.charba.client.configuration that implement Key Modifier and Type Class Description classStandardAxisTypeThis is a standard implementation of a axis typeMethods 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 classControllerTypeRepresent 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 classDataset.CanvasObjectPropertyName of common properties of native object related to a dataset.protected static classDataset.CommonPropertyName 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 KeyHasPointFillStrokeStyles. getPointFillStyleProperty()Returns the property which is mapping the point fill style.KeyLiningDataset. getPointFillStyleProperty()KeyHasPointFillStrokeStyles. getPointStrokeStyleProperty()Returns the property which is mapping the point stroke style.KeyLiningDataset. getPointStrokeStyleProperty()Methods in org.pepstock.charba.client.data with parameters of type Key Modifier and Type Method Description doubleAbstractDataPoint. getAttribute(Key key)Returns a custom field value from data point.DateAbstractDataPoint. 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.StringAbstractDataPoint. getAttributeAsString(Key key)Returns a custom field value from data point.protected ArrayStringHoverDataset. getColors(Key key, String defaultvalue)protected ArrayStringHoverFlexDataset. getColors(Key key, String defaultvalue)Returns an array of colors as string.protected ArrayIntegerHoverDataset. getWidths(Key key, int defaultvalue)protected ArrayIntegerHoverFlexDataset. getWidths(Key key, int defaultvalue)Returns an array of widths as integervoidAbstractDataPoint. setAttribute(Key key, double value)Sets a custom field to data point.voidAbstractDataPoint. setAttribute(Key key, String value)Sets a custom field to data point.voidAbstractDataPoint. 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 voidHoverDataset. setColors(Key key, String... colors)protected voidHoverDataset. setColors(Key key, IsColor... colors)protected voidHoverFlexDataset. setColors(Key key, String... colors)Sets a color property in the dataset, setting a single value or an array.protected voidHoverFlexDataset. setColors(Key key, IsColor... colors)Sets a color property in the dataset, setting a single value or an array.protected voidHoverDataset. setWidths(Key key, int... widths)protected voidHoverFlexDataset. 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 interfaceDataLabelIdRepresents the label id of a label configuration object in theDataLabelsPlugin.IDplugin.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 classAlignThe align option defines the position of the label relative to the anchor point position and orientation.classAnchorAn 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.classEventThisDataLabelsPlugin.IDplugin 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
Classes in org.pepstock.charba.client.dom.enums that implement Key Modifier and Type Class Description classBorderStyleEnumerates the sets the line style for all four sides of an element's border.classCursorTypeEnumerates the sets the type of cursor, if any, to show when the mouse pointer is over an element.classDisplayEnumerates the property sets whether an element is treated as a block or inline element and the layout used for its children.classGlobalCompositeOperationIdentifying which of the compositing or blending mode operations to use.classMutationTypeEnumerates all types which can be set in the aMutationObserverand consumable byMutationRecord.getType().classPositionEnumerates the set of values how an element is positioned in a document.classRepetitionEnumerates the set of values how to repeat the pattern's image.classTextBaselineEnumerates the set of values to specify the current text baseline used when drawing text.classTextDecorationEnumerates the set of values to specify the appearance of decorative lines on text.classUnitEnumerates 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 interfaceIsFillRepresents how to fill the area under the line.interfaceIsTooltipPositionDefines an object which represents the positioning of the tooltip.Classes in org.pepstock.charba.client.enums that implement Key Modifier and Type Class Description classAbsoluteDatasetIndexFillFill 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,...).classAnimationTypeType of property in the animation object to determine the interpolator used.classAxisKindCan be set to 'x', 'y' or 'r' to define which directions are used in axis.classAxisPositionAn 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.classBorderAlignProperty to set the border alignment on chart datasets.classBorderItemTypeProperty which map the border width and border radius types onBarDataset.classBorderSkippedProperty to set the border position on chart datasets.
This setting is used to avoid drawing the bar stroke at the base of the fill.classBoundsControls the scale boundary strategy (bypassed by minimum/maximum time options).classCapStyleDetermines how the end points of every line are drawn.
There are three possible values for this property and those are: butt, round and square.classChartAxisTypeAxes are an integral part of a chart.classChartEventPropertyEnumerates the name of options property to set the callbacks to chart events.classColorTypeclassContextTypeEnumerates the type of scriptable options context.classCrossAlignThe 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.classCubicInterpolationModeDetermines the interpolation mode of lines.classDataTypeEnumeration with all possible types of data set in the dataset.classDecimationAlgorithmEnumerates the possible algorithm thatDefaultPluginId.DECIMATIONplugin can use for its work.classDefaultAnimationCollectionKeyCores animation collections names provided out of the box by CHART.JS.classDefaultAnimationPropertyKeyCores animation properties, to use to animate, provided out of the box by CHART.JS.classDefaultPluginIdContains the GLOBAL plugin IDs of the default CHART.JS plugins, provided out of the box.classDefaultScaleIdEnumerates the default scale id.classDefaultTransitionKeyCores animation update modes (transition) provided out of the box by CHART.JS.classDisplayThe 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).classDrawTimeDefines when the filler will fill the data sets.classEasingEasing is acceleration, a change in speed.
For further details, see here.classElementAlignProperty to set alignment of the legend and the title.classEventThe events option defines the browser events that the chart, legend, tooltip or plugins should listen to.classFillBoth 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.classFillingModeRepresents how to fill the area under the line.classFontStyleThe font-style property specifies the font style for a text.classImageMimeTypeDetermines the image format to use to export the image from the canvas.classIndexAxisCan be set to 'x' or 'y' to define the base axis for the dataset.
Use 'y' for horizontal bar.classInteractionAxisCan be set to 'x', 'y', or 'xy' to define which directions are used in calculating distances.
Defaults to 'x' for index mode and 'xy' in dataset and nearest modes.classInteractionModeWhen 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.classJoinStyleDetermines 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).classLegendEventPropertyEnumerates the name of options property to set the callbacks to legend events.classModifierKeyA modifier key modifies the action of another key when the keys are pressed at the same time.classPluginOptionsScopeEnumeration with all possible options scope.classPointStyleStyle of the point.classPointStyleTypeEnumerates the type of the point style.classPositionProperty to set the position's edge of an element to a unit above/below its normal position.classRelativeDatasetIndexFillFill 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",...).classScaleTitleAlignProperty to set the scale title alignment.classSteppedProperty to set if the line is shown as a stepped line.classTextAlignProperty to set the text alignment.classTextDirectionEnumerates the text direction that will force the text direction on the canvas for rendering the legend, regardless of the CSS specified on the canvas.classTickSourceControls the ticks generation on cartesian time axis.classTimeUnitControls the data distribution along the scale.classTooltipAlignDefines the position of the tooltip caret.classTooltipPositionThese are the different modes for positioning of the tooltip.classWeightThe 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 AxisKindDefaultScaleId. 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 PointStyleTypePointStyleType. getType(NativeObjectContainer object, Key key)Returns the point style type in the native object container.static booleanDefaultPluginId. is(Key pluginId)Returnstrueif the argument is equals to a default plugin id.
TheDefaultPluginId.FILLERis 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 classEventTypeThis is the type of an event which must be related to the handlers.
To be unique it uses a class name as value.Methods in org.pepstock.charba.client.events that return Key Modifier and Type Method Description KeyIsCommonChartEvent. getKey()Returns the options key where default function is stored. -
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 FeatureGeoUtils. feature(String topojson, Key featureProperty, FeatureFindCallback findCallback)Reads the topoJson definition and find a specific feature to enable outline.static FeatureGeoUtils. feature(TopoJson topojson, Key featureProperty, FeatureFindCallback findCallback)Reads the topoJson definition and find a specific feature to enable outline.static FeatureGeoUtils. feature(AbstractInjectableResource topojson, Key featureProperty, FeatureFindCallback findCallback)Reads the topoJson definition and find a specific feature to enable outline.static List<Feature>GeoUtils. features(String topojson, Key featureProperty)Reads the topoJson definition and creates a list of features to enable regions drawing.static List<Feature>GeoUtils. features(String topojson, Key featureProperty, FeatureFilterCallback filterCallback)Reads the topoJson definition and creates a list of features to enable regions drawing.static List<Feature>GeoUtils. features(TopoJson topojson, Key featureProperty)Reads the topoJson definition and creates a list of features to enable regions drawing.static List<Feature>GeoUtils. features(TopoJson topojson, Key featureProperty, FeatureFilterCallback filterCallback)Reads the topoJson definition and creates a list of features to enable regions drawing.static List<Feature>GeoUtils. features(AbstractInjectableResource topojson, Key featureProperty)Reads the topoJson definition and creates a list of features to enable regions drawing.static List<Feature>GeoUtils. features(AbstractInjectableResource topojson, Key featureProperty, FeatureFilterCallback filterCallback)Reads the topoJson definition and creates a list of features to enable regions drawing.doubleFeature. getNumberProperty(Key key)Returns a number value at specific property.ObjectTypeFeature. getPropertyType(Key key)Returns the java script type of a property.doubleFeature. getPropertyValue(Key key, double defaultValue)Returns a number value at specific property.StringFeature. getPropertyValue(Key key, String defaultValue)Returns a string value at specific property.StringFeature. getStringProperty(Key key)Returns a string value at specific property.booleanFeature. hasProperty(Key key)Returnstrueif the properties contain an element at specific property.static LabelsGeoUtils. loadLabels(List<Feature> features, Key property)Creates and loads aLabelsobject 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 classAlignEnumerates the align options to define the position of the scale.classClipMapEnumerates the possible values to clip the rendering to the chart area of the GEO graph.classInterpolateEnumerates the color interpolation for data set and scale.classModeEnumerates the operation modes for the scale, area means that the area is linearly increasing whereas radius the radius is.classPositionProperty to set the position of the legend on the chart area.classProjectionEnumerates 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.impl.plugins
Subinterfaces of Key in org.pepstock.charba.client.impl.plugins Modifier and Type Interface Description interfaceColorSchemeThis 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 classAlignProperty to set the selection cleaner element alignment.classBrewerSchemeContains all scheme definitions to map the Color Brewer schemes.
To configureColorSchemes.IDplugin, 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.classGoogleChartSchemeContains all scheme definitions to map the Google chart schemes.
To configureColorSchemes.IDplugin, 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.classGwtMaterialSchemeContains all scheme definitions to map the GWT material schemes.
To configureColorSchemes.IDplugin, 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.classOfficeSchemeContains all scheme definitions to map the Microsoft Office schemes.
To configureColorSchemes.IDplugin, 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.classPointerElementThe elements of the chart in scope ofChartPointer.IDplugin.classRenderEnumeration of available render to use to configure selection cleaner element.classSchemeScopeEnumerates the possible values to address coloring of BAR or BUBBLE datasets by a color scheme.classTableauSchemeContains all scheme definitions to map the Tableau schemes.
To configureColorSchemes.IDplugin, 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 interfaceIsLocaleItemInterface 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 classLanguageEnumerates the language identifiers which can be used to create and manage locale.classRegionEnumerates the region or country identifiers which can be used to create and manage locale.classScriptEnumerates 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 classCalendarEnumerates the calendar to manage the dates.classCompactDisplayEnumerates the possible display when the formatting, that should be displayed for the number, is compact.
Takes either "short" (default) or "long".classCurrencyEnumerates the standard codes for script identification which can be used to create and manage locale.classCurrencyDisplayEnumerates the possible values how to display the currency in currency formatting.classCurrencySignIn 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".classDateTimeStyleEnumerates 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).classFormatMatcherThe 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.classFormatPartTypeEnumerates the possible types of aFormatPartcan have.classHourCycleEnumerates the possible values to use to set the hour cycle.classLocaleMatcherThe 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".classMeasureUnitEnumerated 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.classMeasureUnitDisplayEnumerated the options to set the unit formatting style to use in unit formatting.
The defaults is "short".classMixedItemStyleEnumerates the possible value to set the representation of the month.classNotationEnumerated the options in order to set the formatting that should be displayed for the number.
The defaults is "standard".classNumberingSystemEnumerates 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.classNumberItemStyleEnumerates the possible value to set the representation of the numeric item of a date (year, day, hour, minute, second).classSignDisplayEnumerated the options in order to set when to display the sign for the number.
Defaults to "auto".classStringItemStyleEnumerates the possible value to set the representation of the era, day periods, weekday.classStyleEnumerated the options in order to set the formatting style to use.
The default is "decimal".classTimeZoneEnumerates the time zones identifiers which can be used on dates management.
See IANA times zones for more details.classTimeZoneNameEnumerates 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 that implement Key Modifier and Type Class Description protected static classLegendTextHandler.PropertyName of properties of native object. -
Uses of Key in org.pepstock.charba.client.labels
Subinterfaces of Key in org.pepstock.charba.client.labels Modifier and Type Interface Description interfaceLabelIdRepresents the label id of a label configuration object in theLabelsPlugin.IDplugin.Methods in org.pepstock.charba.client.labels with parameters of type Key Modifier and Type Method Description protected booleanLabelsContext. 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 classPositionEnumeration of available positions to use to configureLabelsPlugin.IDplugin.classRenderEnumeration of available render to use to configureLabelsPlugin.IDplugin. -
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 classAnchorAn 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 interfaceAnimationCollectionKeyRepresents the collection to set to configure animation.interfaceAnimationPropertyKeyRepresents the property id to set to the configure animation collection items.interfaceIsTypedAnimationKeyRepresents an animation key which contains a animation type.interfaceScaleIdRepresents the scale id of a scale/axis object.interfaceTransitionKeyRepresents 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 classBarDatasetOptionsHandler.PropertyName of properties of native object.protected static classFillHandler.PropertyName of properties of native object.protected static classOptions.CommonPropertyName of properties of native object.
Properties common with which extends this class.protected static classSpanGapHandler.PropertyName of properties of native object.classStandardAnimationCollectionThis is a standard implementation of an animation collectionclassStandardAnimationPropertyThis is a standard implementation of an animation property.classStandardAnimationTransitionThis is a standard implementation of an animation update mode (transition).classStandardScaleIdThis is a standard implementation of a scale idMethods 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 PaddingAbstractModel. 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.voidExtendedOptions. setCallback(ConfigurationEnvelop<AbstractNode> envelop, Key property, NativeCallback callback)Adds a native callback function to a element node instance.voidExtendedOptions. setCallback(ConfigurationEnvelop<AbstractNode> envelop, Key property, CallbackProxy.Proxy proxy)Adds a callback proxy function to a element node instance.voidExtendedScale. setCallback(ConfigurationEnvelop<AbstractNode> envelop, Key property, NativeCallback callback)Adds a native callback function to a element node instance.voidExtendedScale. setCallback(ConfigurationEnvelop<AbstractNode> envelop, Key property, CallbackProxy.Proxy proxy)Adds a callback proxy function to a element node instance.protected voidAbstractModel. setCallbackToModel(AbstractNode model, Key key, NativeCallback callback)Adds a native callback function to a model at the specific key.protected voidAbstractModel. setCallbackToModel(AbstractNode model, Key key, CallbackProxy.Proxy proxy)Adds a proxy function (for callbacks) to a model at the specific key.voidExtendedOptions. setEvent(AbstractNode node, Key property, ConfigurationEnvelop<CallbackProxy.Proxy> envelop)Adds a event proxy function to animation element instance.protected voidAbstractModel. 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 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 classAbstractPluginOptions.PropertyName of properties of native object.Methods in org.pepstock.charba.client.plugins that return Key Modifier and Type Method Description static KeyPluginIdChecker. 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)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 classCustomTooltipPositionCustom 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 classResourceNameEnumerates 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, 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 KeySankeyDataPoint. getFromAsKey()Returns from value asKey.KeySankeyDataPoint. getToAsKey()Returns to value asKey.Methods in org.pepstock.charba.client.sankey with parameters of type Key Modifier and Type Method Description StringLabels. get(Key nodeKey)Returns the stored value in the map, by its key of the node.intPriority. 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.voidLabels. set(Key nodeKey, String value)Sets a value in the map, by its key of the node.voidLabels. set(Key nodeKey, List<String> value)Sets a list of labels in the map, by its key of the node.voidPriority. set(Key nodeKey, int value)Sets a value in the map, by its key of the node.voidSankeyDataPoint. setFrom(Key from)Sets from value as key.voidSankeyDataPoint. 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 classColorModeEnumerates the color mode of the flow to draw on the chart.classSizeEnumerates 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 KeyTreeMapDataset. 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.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 voidTreeMapDataset. 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.voidTreeMapDataset. 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.Method parameters in org.pepstock.charba.client.treemap with type arguments of type Key Modifier and Type Method Description voidTreeMapDataset. 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 classAlignThe align property specifies the text horizontal alignment used when drawing the label.classPositionThe 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 interfaceIsProgressBarTypeDefines a toast progress bar type.interfaceIsToastTypeDefines a toast type.Methods in org.pepstock.charba.client.utils.toast that return Key Modifier and Type Method Description KeyActionItem. getId()Returns the action unique id.KeyToastItemAction. 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 ProgressBarTypeBuilderProgressBarTypeBuilder. create(Key name, String backgroundColor)Returns new builder instance, to build a custom toast type.static ProgressBarTypeBuilderProgressBarTypeBuilder. create(Key name, Gradient gradient)Returns new builder instance, to build a custom toast type.static ProgressBarTypeBuilderProgressBarTypeBuilder. create(Key name, IsColor backgroundColor)Returns new builder instance, to build a custom toast type.static ToastTypeBuilderToastTypeBuilder. create(Key name, String backgroundColor)Returns new builder instance, to build a custom toast type.static ToastTypeBuilderToastTypeBuilder. create(Key name, String color, String backgroundColor)Returns new builder instance, to build a custom toast type.static ToastTypeBuilderToastTypeBuilder. create(Key name, String color, Gradient gradient)Returns new builder instance, to build a custom toast type.static ToastTypeBuilderToastTypeBuilder. create(Key name, String color, Pattern pattern)Returns new builder instance, to build a custom toast type.static ToastTypeBuilderToastTypeBuilder. create(Key name, Gradient gradient)Returns new builder instance, to build a custom toast type.static ToastTypeBuilderToastTypeBuilder. create(Key name, IsColor backgroundColor)Returns new builder instance, to build a custom toast type.static ToastTypeBuilderToastTypeBuilder. create(Key name, IsColor color, Gradient gradient)Returns new builder instance, to build a custom toast type.static ToastTypeBuilderToastTypeBuilder. create(Key name, IsColor color, IsColor backgroundColor)Returns new builder instance, to build a custom toast type.static ToastTypeBuilderToastTypeBuilder. create(Key name, IsColor color, Pattern pattern)Returns new builder instance, to build a custom toast type.static ToastTypeBuilderToastTypeBuilder. 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 classAlignThe align option defines the position of the toast actions.classDefaultProgressBarTypeEnumerates the list of progress bar type for toasting.classDefaultToastTypeEnumerates the list of default notification type for toasting.classStatusEnumerates 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 booleanZoomContext. checkIfPropertyIsValid(Key property)
-