Uses of Class
org.pepstock.charba.client.commons.NativeObjectContainer
-
Packages that use NativeObjectContainer Package Description org.pepstock.charba.client Main package with all charts implementation, global classes and common interfaces.org.pepstock.charba.client.adapters Contains all classes to interact with date adapters implemented by CHART.JS to be abstract from date time java script library to use.org.pepstock.charba.client.annotation Contains all classes to activate theAnnotationPlugin.IDplugin (AKAchartjs-plugin-annotation.js) for CHART.js.org.pepstock.charba.client.annotation.elements Contains theAnnotationPlugin.IDplugin elements interfaces to use in the callbacks and events.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.commons Core classes to manage the inter-operations with java script code.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.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.gradient Contains all classes to activate theGradientPlugin.IDplugin (AKAchartjs-plugin-gradient.js) for CHART.js.org.pepstock.charba.client.impl.charts Contains METER and GAUGE charts implementations (based on controllers), available out-of-the box.org.pepstock.charba.client.impl.plugins Contains some plugins implementations, available out-of-the box.org.pepstock.charba.client.intl Contains classes in order to use the ECMAScript Internationalization API, which provides language sensitive number formatting, and date and time formatting.org.pepstock.charba.client.items Contains all elements generated by CHART.JS, which are mapping java script objects, to use at runtime in plugins, events or controllers.org.pepstock.charba.client.labels Contains all classes to useLabelsPlugin.IDplugin (AKAchartjs-plugin-labels.js) available for CHART.JS.org.pepstock.charba.client.matrix Contains all classes to activate the Matrix controller (AKAchartjs-chart-matrix.js) for CHART.js.org.pepstock.charba.client.ml Contains all classes to activate the ML library to use the regression capabilities.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.sankey Contains all classes to activate the Sankey controller (AKAchartjs-chart-sankey.js) for CHART.js.org.pepstock.charba.client.treemap Contains all classes to activate the TreeMap controller (AKAchartjs-chart-treemap.js) for CHART.js.org.pepstock.charba.client.utils Contains some utilities to use in Charba, like HTML annotation builder, and other java script utilities useful for debugging.org.pepstock.charba.client.utils.toast Contains all classes to useToasterutility.org.pepstock.charba.client.zoom Contains all classes to activate theZoomPlugin.IDplugin (AKAchartjs-plugin-zoom.js) for CHART.js. -
-
Uses of NativeObjectContainer in org.pepstock.charba.client
Subclasses of NativeObjectContainer in org.pepstock.charba.client Modifier and Type Class Description classChartOptionsThis object is mapping the default options related to the chart type.classConfigurationThis is the configuration object of a chart.
It contains always the type, options, plugins and data.classEventPointThis object is wrapping the native java script object provided byHelpersto know the position of the event on the canvas.classGlobalOptionsDefault global options (maps the java script object chart.defaults.global).classGlobalScaleDefault global scale (maps the java script objectChart.defaults.scaleand the result ofChart.scaleService).classUpdateConfigurationObject can be provided with additional configuration for the update process.
This is useful when update is manually called inside an event handler and some different animation is desired. -
Uses of NativeObjectContainer in org.pepstock.charba.client.adapters
Subclasses of NativeObjectContainer in org.pepstock.charba.client.adapters Modifier and Type Class Description classDateAdapterFormatsContains all date time formats that a date adapter can manage.classDateAdapterOptionsSimple class to map LUXON options to provide to date time adapter. -
Uses of NativeObjectContainer in org.pepstock.charba.client.annotation
Subclasses of NativeObjectContainer in org.pepstock.charba.client.annotation Modifier and Type Class Description classAbstractAnnotationBase class to define an annotation in theAnnotationPlugin.IDplugin.
It contains all commons properties to define an annotation.classAlignPositionThis object is to set the position of a label, setting the horizontal and vertical position.classAnnotationContextThe callback or handler context wrapper, created and passed byAnnotationPlugin.IDwhich contains the link to the native chart.classAnnotationOptionsThis is theAnnotationPlugin.IDplugin options where to set all configuration items needed to the plugin.classArrowImplements a ARROWHEADS, and its start and end nodes, to apply on a LINE annotation.classArrowHeadsImplements a ARROWHEADS to apply on a LINE annotation.classBoxAnnotationImplements a BOX annotation which draws a box in the a chart.
If one of the axes is not specified, the box will take the entire chart dimension.
The 4 coordinates, xMin, xMax, yMin, yMax are optional.classBoxLabelImplements a LABEL to apply on a LINE annotation.classCalloutImplements a CALLOUT to apply on a LABEL annotation.classEllipseAnnotationImplements a ELLIPSE annotation which draws a ellipse in the a chart.
If one of the axes is not specified, the ellipse will take the entire chart dimension.
The 4 coordinates, xMin, xMax, yMin, yMax are optional.classFontBase object to map font options forAnnotationPlugin.IDplugin for label configuration.classLabelAnnotationImplements a LABEL annotation which draws a content in the a chart.classLineAnnotationImplements a LINE annotation which draws a line in the a chart.classLineLabelImplements a LABEL to apply on a LINE annotation.classPaddingBase object to map padding options forAnnotationPlugin.IDplugin padding configuration.
It is applied to all sides of the label (left, top, right, bottom).classPointAnnotationImplements a POINT annotation which draws a point in the a chart.classPolygonAnnotationImplements a POLYGON annotation which draws a polygon in the a chart. -
Uses of NativeObjectContainer in org.pepstock.charba.client.annotation.elements
Subclasses of NativeObjectContainer in org.pepstock.charba.client.annotation.elements Modifier and Type Class Description classAlignPositionElementThis object is to set the position of a label, setting the horizontal and vertical position.classAnnotationElementMaps all properties of the annotation element, the implementation of the annotation options in the plugin.
It provides all dimensions of the element and sub elements.classArrowElementMaps the arrow options of aAnnotationElementat runtime.classArrowHeadsElementMaps the arrow heads options of aAnnotationElementat runtime.classCalloutElementMaps the label options of aAnnotationElementat runtime.classLabelElementMaps the label options of aAnnotationElementat runtime.classOptionsElementMaps the options of aAnnotationElementat runtime. -
Uses of NativeObjectContainer in org.pepstock.charba.client.annotation.enums
Methods in org.pepstock.charba.client.annotation.enums with parameters of type NativeObjectContainer Modifier and Type Method Description static ContentTypeContentType. get(NativeObjectContainer container)Returns the content type reading the content property. -
Uses of NativeObjectContainer in org.pepstock.charba.client.callbacks
Subclasses of NativeObjectContainer in org.pepstock.charba.client.callbacks Modifier and Type Class Description classAbstractDatasetContextThe option context is used to give contextual information when resolving options where the data set locator (data and data set index) must be used.classChartContextAbstract implementation to map the context used as argument on options, data sets, scales and plugins callbacks.
All context implementations have got a property which is a reference to the chart instance.classDatasetContextThe option context is used to give contextual information when resolving options.classScaleContextThe SCALE option context is used to give contextual information when resolving options.
The context object contains the following properties:
index: index of the associated data scale: scale instance which contains the element to configure tick: tick item instance which contains data to be consumed configuring the element (only for ticks) label: label item to manage by callback (only for point label context)classSegmentContextThe callback or handler context wrapper, created and passed bySegmentwhich contains the line charts references.classTooltipContextThe option context is used to give contextual information when resolving options.Methods in org.pepstock.charba.client.callbacks with type parameters of type NativeObjectContainer Modifier and Type Method Description <T extends NativeObjectContainer>
TChartContext. getAttributes(NativeObjectContainerFactory<T> factory)Returns the attributes, if exist.<T extends NativeObjectContainer>
voidChartContext. setAttributes(T attributes)Sets the additional attributes. -
Uses of NativeObjectContainer in org.pepstock.charba.client.colors
Subclasses of NativeObjectContainer in org.pepstock.charba.client.colors Modifier and Type Class Description classCanvasObjectBase object for pattern and gradient instances, based on canvas element.classGradientA gradient is an image consisting of a progressive transition between two or more colors.
Could beLinearorRadial.
Can be created using the size ofCANVASorCHARTarea.
The orientation to have a progressive transition, is defined by an enumeration in order to creates the gradient using the right coordinates and dimension, based on existing items (canvas and chart).classGradientColorContains the color and its offset to set a gradient.classPatternEntity to apply a canvas pattern in the a data set as background.
See here some interesting pattern images. -
Uses of NativeObjectContainer in org.pepstock.charba.client.commons
Classes in org.pepstock.charba.client.commons with type parameters of type NativeObjectContainer Modifier and Type Class Description classArrayObjectContainerList<E extends NativeObjectContainer>An ordered collection (also known as a sequence).interfaceNativeObjectContainerFactory<T extends NativeObjectContainer>Interface to be implemented to load elements from an array of native object.Subclasses of NativeObjectContainer in org.pepstock.charba.client.commons Modifier and Type Class Description classAbstractNodeBase class for all options nodes, which will wraps a native object and manages the relations about parent and children elements.classAbstractPointThis object is wrapping the native java script object to map a point.classAbstractReadOnlyPointThis object is wrapping the native java script object to map a point, in READ-ONLY mode.classPropertyHandler<D>Base object to to manage common properties in the options or configuration.
To reduce the duplication of code, this calls helps to manage the same property or properties on different objects, without extending them.Methods in org.pepstock.charba.client.commons with type parameters of type NativeObjectContainer Modifier and Type Method Description static <E extends NativeObjectContainer>
ArrayObjectArrayObject. fromOrEmpty(E item)Creates a java script array of objects starting from a native object containers and the array will have ONE 1 element.static <E extends NativeObjectContainer>
ArrayObjectArrayObject. fromOrEmpty(E[] items)Creates a java script array of objects starting from an array of native object containers.static <E extends NativeObjectContainer>
ArrayObjectArrayObject. fromOrEmpty(List<E> items)Creates a java script array of objects starting from a list of native object containers.static <E extends NativeObjectContainer>
ArrayObjectArrayObject. fromOrNull(E item)Creates a java script array of objects starting from a native object containers and the array will have ONE 1 element.static <E extends NativeObjectContainer>
ArrayObjectArrayObject. fromOrNull(E[] items)Creates a java script array of objects starting from an array of native object containers.static <E extends NativeObjectContainer>
ArrayObjectArrayObject. fromOrNull(List<E> items)Creates a java script array of objects starting from a list of native object containers.static <E extends NativeObjectContainer>
ArrayObjectContainerList<E>ArrayListHelper. list(ArrayObject array, NativeObjectContainerFactory<E> factory)Creates a array list of java script native object container by a java script array and a factory.static <E extends NativeObjectContainer>
List<E>ArrayListHelper. unmodifiableList(ArrayObject array, NativeObjectContainerFactory<E> factory)Creates an unmodifiable array list of java script native object container by a java script array and a factory.Methods in org.pepstock.charba.client.commons with parameters of type NativeObjectContainer Modifier and Type Method Description static <E extends NativeObjectContainer>
ArrayObjectArrayObject. fromOrEmpty(E[] items)Creates a java script array of objects starting from an array of native object containers.static <E extends NativeObjectContainer>
ArrayObjectArrayObject. fromOrNull(E[] items)Creates a java script array of objects starting from an array of native object containers.static StringId. get(NativeObjectContainer nativeObjectContainer)Returns the property value from java script object.TCallbackPropertyHandler. getCallback(NativeObjectContainer container)Returns the callback stored in the native object ornullif not exists.TCallbackPropertyHandler. getCallback(NativeObjectContainer container, T defaultValue)Returns the callback stored in the native object or the default value passed as argument, if not exists.booleanJsHelper. isCanvas(NativeObjectContainer object, Key key)Returnstrueif the object is aCanvas.booleanJsHelper. isImage(NativeObjectContainer object, Key key)Returnstrueif the object is aImg.voidMerger. load(NativeObjectContainer options, ChartEnvelop<NativeObject> envelop)Merges the chart options, built after the chart initialization on the chart configuration in order that the configuration can contain all values, also the defaults.voidMerger. load(IsChart chart, NativeObjectContainer options, ChartEnvelop<NativeObject> envelop)Merges chart default options (by chart.defaults[type]), default scale options (by chart.defaults.scale) and global options (by chart.defaults.global) and chart options.
The chain of priority is:
chart options chart default options (by chart.defaults[type]) default scale options (by chart.defaults.scale) global options (by chart.defaults.global)static voidConfigurationLoader. loadData(Configuration configuration, NativeObjectContainer data)Loads the DATA in the configuration CHART.JS object.static voidConfigurationLoader. loadOptions(Configuration configuration, NativeObjectContainer options)Loads the OPTIONS in the configuration CHART.JS object.NativeObjectMerger. merge(NativeObjectContainer target, NativeObjectContainer source, String property)Copiessourceproperties (creating a new java script object and setting thesourceone with the property argument) in thetargetonly if not defined in target.
targetis not cloned and will be updated withsourceproperties.
The property isNativeObjectMerger. merge(NativeObjectContainer target, NativeObject source, String property)Copiessourceproperties (creating a new java script object and setting thesourceone with the property argument) in thetargetonly if not defined in target.
targetis not cloned and will be updated withsourceproperties.
The property isNativeObjectMerger. merge(NativeObject target, NativeObjectContainer source, String property)Copiessourceproperties (creating a new java script object and setting thesourceone with the property argument) in thetargetonly if not defined in target.
targetis not cloned and will be updated withsourceproperties.
The property isvoidCallbackPropertyHandler. setCallback(NativeObjectContainer container, String scope, T callback, CallbackProxy.Proxy proxy)Stores the callback in the cache, storing the proxy function and the hash code property key (unique id of callback) in the native object.protected voidNativeObjectContainer. setValue(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, NativeObjectContainer value)Sets a value (JavaScript Object) in the embedded JavaScript object at specific property by object container.protected voidPropertyHandler. setValueAndAddToParent(Key key, NativeObjectContainer value)Sets a value (JavaScript Object) in the embedded JavaScript object at specific property by object container.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 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 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. -
Uses of NativeObjectContainer in org.pepstock.charba.client.controllers
Classes in org.pepstock.charba.client.controllers with type parameters of type NativeObjectContainer Modifier and Type Class Description classControllerMapperFactory<T extends NativeObjectContainer>Class to implement from controllers in order to extend the standard configuration of charts.
It takes the java script object of standard options passing it to a wrapper to manage additional properties. -
Uses of NativeObjectContainer in org.pepstock.charba.client.data
Subclasses of NativeObjectContainer in org.pepstock.charba.client.data Modifier and Type Class Description classAbstractDataPointMaps the common methods for a data point.classArcBorderRadiusDefines the border radius for ARC data set element, applies the corner radius to all corners of the arc (outerStart, outerEnd, innerStart, and innerEnd).classAreaDatasetThe area chart allows a number of properties to be specified for each dataset.classBarBorderRadiusDefines the border radius for BAR data set element, applies the corner radius to all corners of the rectangle (topLeft, topRight, bottomLeft, bottomRight).classBarBorderWidthDefines the border width for BAR data set (left, top, right, bottom).classBarDatasetThe bar chart allows a number of properties to be specified for each data set.classBubbleDatasetThe chart allows a number of properties to be specified for each data set.classClipDefines how to clip relative to the chart area.
Positive value allows overflow, negative value clips that many pixels inside the chart area.
If setsfalse, that means that CHART.JS will use chart area dimension.
Withfalsevalue, the properties will be: Left is 0 Top is 0 Right is area right Bottom is area bottomclassDataCHART.JS entity object to configure the data options of a chart.
It contains labels and data sets.classDataPointUsed for sparse datasets, such as those in scatter charts.classDatasetThe chart allows a number of properties to be specified for each data set.classDoughnutDatasetThe doughnut chart allows a number of properties to be specified for each dataset.classHorizontalBarDatasetThe horizontal bar chart allows a number of properties to be specified for each data set.
These are used to set display properties for a specific data set.
Some properties can be specified as an array.
If these are set to an array value, the first value applies to the first bar, the second value to the second bar, and so on.classHoverDatasetThe chart allows a number of properties to be specified for each data set.
These are used to set display properties for a specific data set.classHoverFlexDatasetThis dataset is managing some common properties related to background and border colors where every property can be set as a single value or an array.classLabelsHandlerUtility to manage the LABELS on chart datasets and options.classLineDatasetThe line chart allows a number of properties to be specified for each data set.
These are used to set display properties for a specific data set.
All point* properties can be specified as an array.
If these are set to an array value, the first value applies to the first point, the second value to the second point, and so on.classLiningDatasetThe chart allows a number of properties to be specified for each data set.
These are used to set display properties for a specific data set.
This class collects a set of common field for Line and Radar charts.classPieDatasetThe pie chart allows a number of properties to be specified for each dataset.classPolarAreaDatasetThe polar area chart allows a number of properties to be specified for each dataset.classRadarDatasetThe radar chart allows a number of properties to be specified for each dataset.classScatterDatasetThe scatter chart allows a number of properties to be specified for each dataset.classStackedAreaDatasetThe stacked area chart allows a number of properties to be specified for each dataset.classStackedBarDatasetThe stacked bar area chart allows a number of properties to be specified for each dataset.classStackedHorizontalBarDatasetThe stacked horizontal bar area chart allows a number of properties to be specified for each dataset.classStackedLineDatasetThe stacked line chart allows a number of properties to be specified for each dataset.
These are used to set display properties for a specific dataset.
Extends the line dataset.classTimeSeriesBarDatasetThe time series bar chart allows a number of properties to be specified for each dataset.classTimeSeriesHorizontalBarDatasetThe time series horizontal bar chart allows a number of properties to be specified for each dataset.classTimeSeriesItemDefault implementation for time series item interface in order to manage time series item (time and value).classTimeSeriesLineDatasetThe time series line chart allows a number of properties to be specified for each dataset.classVerticalLineDatasetThe vertical line chart allows a number of properties to be specified for each data set.
These are used to set display properties for a specific data set.
All point* properties can be specified as an array.
If these are set to an array value, the first value applies to the first point, the second value to the second point, and so on.Methods in org.pepstock.charba.client.data with type parameters of type NativeObjectContainer Modifier and Type Method Description <T extends NativeObjectContainer>
TAbstractDataPoint. getAttributeAsObject(Key key, NativeObjectContainerFactory<T> factory)Returns a custom field value from data point.<T extends NativeObjectContainer>
voidAbstractDataPoint. setAttribute(Key key, T value)Sets a custom field to data point. -
Uses of NativeObjectContainer in org.pepstock.charba.client.datalabels
Subclasses of NativeObjectContainer in org.pepstock.charba.client.datalabels Modifier and Type Class Description classDataLabelsContextThe option context is used to give contextual information when resolving options forDataLabelsPlugin.classDataLabelsOptionsThis is theDataLabelsPlugin.IDplugin options where to set all the configuration needed to the plugin.
The options could be set by simply the value or by setting a callback.
TheDataLabelsPlugin.IDplugin is highly customizable CHART.JS plugin that displays labels on data for any type of charts.classFontBase object to map font options forDataLabelsPlugin.IDplugin configuration.classLabelItemThis is the base forDataLabelsPlugin.IDplugin options where to set all the configuration needed to the a label.
The options could be set by simply the value or by setting a callback.classLabelsBase object to map multi labels options forDataLabelsPlugin.IDplugin configuration.
It's possible to define multiple labels for each data element using the this object.
It is an object where each property represents a new label, the key being the label key and the value being the options specific to each label.classListenersThis is the LISTENER options ofDataLabelsPlugin.IDplugin allows to register callback(s) to be notified when an event is detected on a specific label.classPaddingBase object to map padding options forDataLabelsPlugin.IDplugin configuration.
It is applied to all sides of the label (left, top, right, bottom). -
Uses of NativeObjectContainer in org.pepstock.charba.client.enums
Methods in org.pepstock.charba.client.enums with parameters of type NativeObjectContainer Modifier and Type Method Description static PointStyleTypePointStyleType. getType(NativeObjectContainer object, Key key)Returns the point style type in the native object container. -
Uses of NativeObjectContainer in org.pepstock.charba.client.events
Subclasses of NativeObjectContainer in org.pepstock.charba.client.events Modifier and Type Class Description classChartEventContextThis is the class which can wrap a CHART.JS event. -
Uses of NativeObjectContainer in org.pepstock.charba.client.geo
Subclasses of NativeObjectContainer in org.pepstock.charba.client.geo Modifier and Type Class Description classBubbleMapDataPointUsed for BubbleMap data sets to set the data to render.
A data has to have alatitudeandlongitudeproperties and avalueproperty containing the value for the coloring.classBubbleMapDatasetIt is aBubbleDatasetwith additional options for bubble map charts.classBubbleMapPointThe styling of the new elementBubbleMapPointis based onPointelement with some additional options for the outline and graticule.classChoroplethBarThe styling of the new elementChoroplethBaris based onBarelement with some additional options for the outline and graticule.classChoroplethDataPointUsed for GEO data sets to set the data to render.
A GEO data has to have afeatureproperty containing the feature to render and avalueproperty containing the value for the coloring.classChoroplethDatasetThe choropleth data set allows a region definition (byFeature) and specific value to be specified.classCoordinatesPointContains the coordinates X and Y on the canvas, calculated byBaseGeoChart.projection(Coordinates)andBaseGeoChart.projection(double, double).classFeatureRepresents the region definition with all properties and geometries needed to draw the region.classGraticuleThe network of intersecting lines of latitude and longitude is called the graticule.
It is imaginary on the earth, of course, but is drawn on globes and maps for reference.
The graticule of latitude and longitude lines is an angular measurement system.classLegendLegend configuration for GEO chart scale.classMarginDefines the margin pixels for legend such that it doesn't stick to the edge of the chart .classPaddingclassPositionPointThis object is wrapping the native java script object to provide the position of the legend.classTopoJsonTopoJSON is an extension of GeoJSON that encodes topology. -
Uses of NativeObjectContainer in org.pepstock.charba.client.gradient
Subclasses of NativeObjectContainer in org.pepstock.charba.client.gradient Modifier and Type Class Description classColorsIs a map to apply the color stop of the gradient in relation with the data of the chart.classGradientOptionsThis is theGradientPlugin.IDplugin options where to set all configuration items needed to the plugin.classPropertyOptionsMaps all the options which can be set for each configurable property (for instance backgroundColor, borderColor and so on). -
Uses of NativeObjectContainer in org.pepstock.charba.client.impl.charts
Subclasses of NativeObjectContainer in org.pepstock.charba.client.impl.charts Modifier and Type Class Description classGaugeDatasetThe Gauge chart allows a number of properties to be specified for each dataset.classMeterContextThe callback context wrapper, created and passed byMeterOptionswhich contains the link to the native chart.classMeterDatasetThe Meter chart allows a number of properties to be specified for each dataset. -
Uses of NativeObjectContainer in org.pepstock.charba.client.impl.plugins
Subclasses of NativeObjectContainer in org.pepstock.charba.client.impl.plugins Modifier and Type Class Description classChartBackgroundColorOptionsConfiguration options ofChartBackgroundColor.IDplugin.classChartPointerOptionsConfiguration options ofChartPointer.IDplugin.
It manages the cursor to adopt when the cursor is over the dataset item and when not.classColorSchemesOptionsThis is the object to map theColorSchemes.IDplugin options, both at chart and global level.classCrosshairLabelCrosshair.IDplugin configuration element in order to have in the chart the label on the axes where the mouse is positioned.classCrosshairOptionsConfiguration options ofCrosshair.IDplugin.
It manages the drawing the horizontal and vertical crosshair on the chart.classDatasetsItemsSelectorOptionsConfiguration options ofDatasetsItemsSelector.IDplugin.
It is managing:
the X axis ID the selection color the border color the border width the border dash the border dash offset flag to fire event on update "clear" optionsclassHtmlLegendOptionsConfiguration options ofHtmlLegend.IDplugin.
This is mapping the configuration both default global and per chart instance.classSelectionCleanerDatasetsItemsSelector.IDplugin configuration element in order to have in the chart a clickable element to clear the selection. -
Uses of NativeObjectContainer in org.pepstock.charba.client.intl
Subclasses of NativeObjectContainer in org.pepstock.charba.client.intl Modifier and Type Class Description classDateTimeFormatOptionsThe object configures a date time formatter.
See MDN for more details.classFormatPartResult ofNumberFormat.formatToParts(double)which is containing the locale-specific tokens from which it possible to build custom strings while preserving the locale-specific parts.
See MDN for more details.classNumberFormatOptionsThe object configures a number formatter.
See MDN for more details. -
Uses of NativeObjectContainer in org.pepstock.charba.client.items
Subclasses of NativeObjectContainer in org.pepstock.charba.client.items Modifier and Type Class Description classActiveDatasetElementCalling some methods on your chart instance passing an argument of an event, will return the elements at the event position.
The elements are mapped by this object.
This is the CHART.JS item with all needed info about a selected data set.
This object has been created and passed to event handler or callbacks to apply own logic.classAnimationItemTheonProgressandonCompleteevents are useful for synchronizing an external draw to the chart animation.
This is a wrapper of the CHART.JS item with all needed info.classAxisItemThere are a number of configuration callbacks that can be used to change parameters in the scale at different points in the update process.
This is a wrapper of the CHART.JS item with all needed info about an axis.
Implements allsetmethods to change java script object properties.classBaseBoxItemBase object which maps the CHART.JS chart items which represents a box.
This is a wrapper of the CHART.JS item with all needed info.
Implements allgetmethods to change java script object properties.classBaseBoxNodeItem<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 allgetmethods to change java script object properties.classBorderRadiusItemDefines the border radius for legend item element, applies the corner radius to all corners of the rectangle (topLeft, topRight, bottomLeft, bottomRight).classChartAreaNodeObject which maps the chart area item of CHART.JS chart java script object.
This is a wrapper of the CHART.JS item with all needed info.classDatasetElementCalling some methods on your chart instance passing an argument of an event, will return the elements at the event position.
The elements are mapped by this object.
This is the CHART.JS item with all needed info about a selected data set.
This object has been created and passed to event handler or callbacks to apply own logic.classDatasetElementOptionsThis item provides all information about the view where a dataset has been displayed.
This object has been created and passed to event handler or callbacks to apply own logic.
This is a wrapper of the CHART.JS item with all needed info.classDatasetItemCalling some methods on your chart instance passing an argument of an event, will return the elements at the event position.
Created and passed by CHART.JS and provide dataset information.classDatasetItemControllerThis item provides all information about the dataset controller which has been displayed.
This object has been created and passed to event handler or callbacks to apply own logic.
This is a wrapper of the CHART.JS item with all needed info.classDatasetPointIt wraps the parsed data values for the given item point.classDatasetReferenceCalling some methods on your chart instance passing an argument of an event, will return the elements at the event position.
The elements are mapped by this object.
This is the CHART.JS item with all needed info about a selected data set, providing the right indexes to get the data set.classFontItemFont options item to use mainly for callbacks.classLegendHitBoxItemThis is a wrapper of the CHART.JS item which contains the legends hit box.classLegendItemThis is a wrapper of the CHART.JS item which contains the legend item.classLegendLabelItemThis object is created by callbacks and returned to CHART.JS as native object to configure the legend.classLegendNodeWrapper of legend node of CHART.JS.
This is a wrapper of legend node of Chart (of CHART.JS).classLegendTextHandlerManages the TEXT property of options in order to use the same logic between legend items and title.classNumberFormatItemNumber format options item to use for numeric tick callbacks.classOptionsNodeWrapper of options node of CHART.JS.classPaddingItemPadding options item to use mainly for callbacks.classParsedThis object is wrapping the native java script object provided byDatasetElementto know the parsed value.classPluginDatasetArgumentThis is a wrapper of java script object which represents a dataset.
This object is used in the plugins methods of CHART.JS.classPluginEventArgumentThis is a wrapper of java script object which represents a event.
This object is used in the plugins methods of CHART.JS.classPluginResizeArgumentThis is a wrapper of java script object which represents a resize argument.
This object is used in the plugins methods of CHART.JS.classPluginScaleArgumentThis is a wrapper of java script object which represents a scale argument.
This object is used in the plugins methods of CHART.JS.classPluginTooltipArgumentContains all info for every item of tooltip.
Created and passed by CHART.JS.
It uses in the PLUGINS.classPluginUpdateArgumentThis is a wrapper of java script object which the argument passed to plugin function.
This object is used in the plugins methods of CHART.JS.classScaleItemWraps the scale item of CHART JS chart.
This is a wrapper of scale of Chart (of CHART.JS).classScalesNodeWrapper of scales node of CHART.JS.
This is a wrapper of scale node of Chart (of CHART.JS).classScaleTickItemThe tick item maps the objects passed aScaleItem.
This is a wrapper of the CHART.JS item with all needed info.classSizeItemThis item contains the new size of the chart after it has been resized.
This object has been created ONLY when a resize event occurs.classSubtitleNodeWrapper of subtitle node of CHART.JS.
This is a wrapper of subtitle node of Chart (of CHART.JS).classTitleNodeWrapper of title node of CHART.JS.
This is a wrapper of title node of Chart (of CHART.JS).classTooltipBodyItemThis object is passed by CHART.JS to the callback to manage tooltip body.classTooltipItemContains all info for every item of tooltip.
Created and passed by CHART.JS.
It uses in the tooltips callbacks.classTooltipLabelColorThis object contains the color info when a label in the tooltip.
It must be used in the label tooltip callback.classTooltipLabelPointStyleThis object contains the point style info when a label in the tooltip.
It must be used in the label tooltip callback.classTooltipModelThis object is passed by CHART.JS to the callback to manage tooltip custom callback.
The tooltip label configuration is nested below the tooltip configuration using the callbacks key.Methods in org.pepstock.charba.client.items with type parameters of type NativeObjectContainer Modifier and Type Method Description <T extends NativeObjectContainer>
TDataItem. createDataPoint(NativeObjectContainerFactory<T> factory)Returns a data point to be mapped for customization, like for out of the box controllers. -
Uses of NativeObjectContainer in org.pepstock.charba.client.labels
Subclasses of NativeObjectContainer in org.pepstock.charba.client.labels Modifier and Type Class Description classFontBase object to map font options forLabelsPlugin.IDplugin configuration.classLabelThis is the object to map theLabelsPlugin.IDplugin options, both at chart and global level.classLabelsContextThis object is wrapping the native java script object provided byLabelsPlugin.IDplugin when the callback function is called.classLabelsOptionsThis is the object to map theLabelsPlugin.IDplugin options, both at chart and global level. -
Uses of NativeObjectContainer in org.pepstock.charba.client.matrix
Subclasses of NativeObjectContainer in org.pepstock.charba.client.matrix Modifier and Type Class Description classMatrixDataPointMaps the data passed to a matrix dataset.classMatrixDatasetThe matrix data set allows to specify the values for showing magnitude of a phenomenon as color in two dimensions.
The variation in color may be by hue or intensity, giving obvious visual cues to the reader about how the phenomenon is clustered or varies over space. -
Uses of NativeObjectContainer in org.pepstock.charba.client.ml
Subclasses of NativeObjectContainer in org.pepstock.charba.client.ml Modifier and Type Class Description classRegressionDatasetThis is aLineDatasetwhich is created to add the regression line, calculate by a regression, to a chart. -
Uses of NativeObjectContainer in org.pepstock.charba.client.options
Subclasses of NativeObjectContainer in org.pepstock.charba.client.options Modifier and Type Class Description classAbstractElement<D extends IsDefaultOptionsElement>Options can be configured for four different types of elements: arc, lines, points, and bars.
When set, these options apply to all objects of that type unless specifically overridden by the configuration attached to a dataset.classAbstractFontBase class to map the font properties of an element.classAbstractImmutableFontBase class to map a font element in read-only mode, normalized by CHART.JS byHelpers.toFont(org.pepstock.charba.client.items.FontItem), providing also the CSS string of font itself.classAbstractModel<P extends AbstractModel<?,?>,D>Base class for all options, which will wraps a native object and manages the relations about parent and children elements.
Provides also a set of methods to manages callbacks and events.classAbstractNumberFormatThis is abstract number format object element of the chart options.classAbstractPaddingBase class to map the padding properties of an element.classAbstractScaleScales are an integral part of a chart.
They are used to determine how data maps to a pixel value on the chart.
linear logarithmic category time time series radial linearclassAbstractScriptableFont<T extends ChartContext>Object can be provided with additional configuration by callbacks to define font options at runtime, and with the possibility to resetFontCallbackif theIsScriptableFontProviderinstance has been set with aFontCallback.classAbstractScriptablePadding<T extends ChartContext>Object can be provided with additional configuration by callbacks to define padding options at runtime, and with the possibility to resetPaddingCallbackif theIsScriptablePaddingProviderinstance has been set with aPaddingCallback.classAbstractTitle<T extends IsDefaultAbstractTitle>Configures the default chart title and subtitle which defines texts to draw at the top of the chart.classAdaptersThe following adapters element is used to configure a date adapter, injecting to support time series in the CHART.JS.classAngleLinesIt is used to configure angled lines that radiate from the center of the chart to the point labels.
Note that these options only apply if display istrue.classAnimationIt animates charts out of the box.
A number of options are provided to configure how the animation looks and how long it takes.
This configuration item is configuring the common animation properties, ANIMATION name space.classAnimationCollectionIs the base animation options with common properties for animation properties (property and collections of properties).classAnimationContainerManages the ANIMATION, ANIMATIONS and TRANSITIONS properties of options in order to use the same logic among all options/configuration and datasets.classAnimationsIt animates charts out of the box.
A number of options are provided to configure how the animation looks and how long it takes.
This configuration item is configuring the common animations properties, ANIMATIONS name space.classAnimationTransitionAbstract options to define the animation for a specific update mode (transition).classArcArcs are used in the polar area, doughnut and pie charts.classBarBar elements are used to represent the bars in a bar chart.classBarDatasetOptionsHandlerManages the BAR dataset properties of options in order to use the same logic between datasets and options/configuration.classDatasetsContains the options for the datasets.classDecimationThe decimation plugin can be used with line charts to automatically decimate data at the start of the chart life cycle.
To use the decimation plugin, the following requirements must be met:
the data set must have anIndexAxis.Xthe data set must be aLineDatasetthe X axis for the data set must be either aCartesianLinearAxisorCartesianTimeAxisorCartesianTimeSeriesAxisclassDisplayFormatsThe display formats are used to configure how different time units are formed in the strings for the axis tick marks.classElementsOptions can be configured for four different types of elements: arc, lines, points, and bars.
When set, these options apply to the configuration attached to a dataset.classEventsOptionHandlerBase object which maps EVENTS option.classExtendedOptionsOptions used internally inside the chart configuration.
This is the root element of configuration.
Extends the normal options (with scales) with all methods to add callbacks and events.
It provides also the method to set the CHARBA id when new chart is created.classExtendedScaleScale options used internally inside the chart configuration.
Extends the normal scale options with all methods to add callbacks and events.classExtendedScalesOptions used internally inside the chart configuration.
This is the SCALES element of configuration.classFillerThe filler plugin can be used to fill the datasets.classFillHandlerManages the FILL property of options in order to use the same logic between line datasets and options/configuration.classFontBase object to map font options for configuration.classFontContainerThis is the labels configuration of the legend.classGridThe grid line configuration defines options for the grid that run perpendicular to the axis.classHoverDefinitions about how elements appear in the tooltip, hovering the chart.classInteractionDefinitions about how elements appear in the tooltip, hovering the chart.classLayoutThe layout configuration is needed to set the padding.classLegendThe chart legend displays data about the datasets that area appearing on the chart.classLegendLabelsThis is the labels configuration of the legend.classLegendTitleThis is the title configuration of the legend.classLineLine elements are used to represent the line in a line chart.classMajorIt defines options for the major tick marks that are generated by the axis.classOptionsBase object which maps chart options.classPaddingMaps the additional space to apply to the sides of elements (left, top, right, bottom), in pixels.classPluginsDefinitions about plugins options.classPointPoint elements are used to represent the points in a line chart or a bubble chart.classPointLabelsIt is used to configure the point labels that are shown on the perimeter of the scale.
Note that these options only apply if display istrue.classPointStyleHandlerBase object to to manage point style property in the options.classScaleScales are an integral part of a chart.
They are used to determine how data maps to a pixel value on the chart.
linear logarithmic category time time series radial linearclassScaleDateAdapterThis is abstract date adapter object element of the chart options.classScaledOptionsBase object which maps chart options, with scales elements to set axes configurations.classScalesThe configuration element which contains all axes definitions.classScaleTitleWhen creating a chart, you want to tell the viewer what data they are viewing.classSegmentContains all callbacks defined for a line segment.
Is empty because this is only the container of all properties related to callbacks which must be defined in the chart configuration.classSpanGapHandlerManages the SPANGAPS property of options in order to use the same logic between line datasets and options/configuration.classSubtitleConfigures the default chart subtitle which defines text to draw at the top of the chart.classTicksAll configuration for ticks of a chart.
It defines options for the tick marks that are generated by the axis.classTicksNumberFormatIt applies the number formatting to the ticks of all linear scales.classTimeThe time configuration is used to configure how time and time series axes must configure the tick marks.classTitleConfigures the default chart title which defines text to draw at the top of the chart.classTooltipsConfiguration element to set all attributes and features of the default tooltip.classTooltipsCallbacksContains all callbacks defined for a tooltips.
Is empty because this is only the container of all properties related to callbacks which must be defined in the chart configuration.classTransitionsIt animates charts out of the box.
A number of options are provided to configure how the animation looks and how long it takes.
This configuration item is configuring the common transitions properties, TRANSITIONS name space.classTypedDatasetContains the options for the data sets.Methods in org.pepstock.charba.client.options with type parameters of type NativeObjectContainer Modifier and Type Method Description <T extends NativeObjectContainer>
TExtendedOptions. getRemappedOptions(ControllerMapperFactory<T> factory)Returns the options, mapped with a custom object, used for controllers to map the options.
It uses a factory instance to create a customized options.
If factory argument is not consistent,nullis returned.<T extends NativeObjectContainer>
TExtendedScale. getRemappedOptions(ControllerMapperFactory<T> factory)Returns the options, mapped with a custom object, used for controllers to map the options.
It uses a factory instance to create a customized options.
If factory argument is not consistent,nullis returned. -
Uses of NativeObjectContainer in org.pepstock.charba.client.plugins
Subclasses of NativeObjectContainer in org.pepstock.charba.client.plugins Modifier and Type Class Description classAbstractBasePluginBase plugin class implementation.
It represents the instance to store in CHART.JS configuration.classAbstractPluginOptionsAbstract plugin options where to set all the configuration needed to the plugin.classSmartPluginWraps a plugin, delegating the execution of all hooks to it.
the needed hooks can be added and CHART.JS will invoke only those hooks, improving the drawing performance. -
Uses of NativeObjectContainer in org.pepstock.charba.client.positioner
Subclasses of NativeObjectContainer in org.pepstock.charba.client.positioner Modifier and Type Class Description classPointThis object is wrapping the native java script object provided by tooltip positioner to know the position of the event in canvas coordinates.classPositionerContextThe positioner context is used to give contextual information to the tooltip positioner function. -
Uses of NativeObjectContainer in org.pepstock.charba.client.sankey
Subclasses of NativeObjectContainer in org.pepstock.charba.client.sankey Modifier and Type Class Description classColumnIs a map to apply a different start or end position to sankey node.classLabelsIs a map to apply a different label to sankey node, node defined bySankeyDataPoint.setFrom(Key)orSankeyDataPoint.setTo(Key).classPriorityIs a map to apply a different priority to sankey node, priority used to layout calculation.classSankeyDataPointMaps the data passed to a sankey dataset.classSankeyDatasetSankey charts are a type of flow diagram in which the width of the arrows is proportional to the flow rate.
Sankey diagrams emphasize the major transfers or flows within a system.
They help locate the most important contributions to a flow.
They often show conserved quantities within defined system boundaries. -
Uses of NativeObjectContainer in org.pepstock.charba.client.treemap
Subclasses of NativeObjectContainer in org.pepstock.charba.client.treemap Modifier and Type Class Description classCaptionsThe captions can control if and how a caption, to represent the group of the chart, can be shown in the rectangle,classDividersThe treemap data set allows to specify the values for displaying hierarchical data using nested rectangles.classLabelsThe labels can control if and how a label, to represent the data, can be shown in the rectangle.classTreeMapDataPointUsed for treemap datasets.classTreeMapDatasetThe treemap data set allows to specify the values for displaying hierarchical data using nested rectangles.Methods in org.pepstock.charba.client.treemap with type parameters of type NativeObjectContainer Modifier and Type Method Description <T extends NativeObjectContainer>
TTreeMapDataPoint. getData(NativeObjectContainerFactory<T> factory)Returns the object in the user format of the data point.<T extends NativeObjectContainer>
List<T>TreeMapDataPoint. getTreeObjects(NativeObjectContainerFactory<T> factory)Returns the unmodifiable list of tree user objects, related to this data point.<T extends NativeObjectContainer>
List<T>TreeMapDataset. getTreeObjects(NativeObjectContainerFactory<T> factory)Returns the tree data property of a data set for a chart is specified as a list of objects.<T extends NativeObjectContainer>
List<T>TreeMapDataset. getTreeObjects(NativeObjectContainerFactory<T> factory, boolean binding)Returns the tree data property of a data set for a chart is specified as an list of objects.<T extends NativeObjectContainer>
voidTreeMapDataset. setTreeObjects(T[] values)Sets the tree data property of a data set for a chart is specified as an array of objects.<T extends NativeObjectContainer>
voidTreeMapDataset. setTreeObjetcs(List<T> values)Sets the tree data property of a data set for a chart is specified as a list of objects.Methods in org.pepstock.charba.client.treemap with parameters of type NativeObjectContainer Modifier and Type Method Description <T extends NativeObjectContainer>
voidTreeMapDataset. setTreeObjects(T[] values)Sets the tree data property of a data set for a chart is specified as an array of objects. -
Uses of NativeObjectContainer in org.pepstock.charba.client.utils
Methods in org.pepstock.charba.client.utils with type parameters of type NativeObjectContainer Modifier and Type Method Description <T extends NativeObjectContainer>
TRegExpResult. groups(NativeObjectContainerFactory<T> factory)Returns the object to refer to certain token by string that a regular expression matches. -
Uses of NativeObjectContainer in org.pepstock.charba.client.utils.toast
Subclasses of NativeObjectContainer in org.pepstock.charba.client.utils.toast Modifier and Type Class Description classActionConfigures style of the toast actions.classActionItemDefines user action to show on a toast in order to enable the user to act with the toast.classDefaultToastOptionsProvides the defaults of the toast options.classLabelConfigures the toast label.classTitleConfigures the toast title.classToastItemRepresents an toast instance, once it has been created and consumed.classToastOptionsEntity to configure the toast to show. -
Uses of NativeObjectContainer in org.pepstock.charba.client.zoom
Subclasses of NativeObjectContainer in org.pepstock.charba.client.zoom Modifier and Type Class Description classAbstractConfigurationItemAbstract element used by pan and zoom object in order to enable to provide the configuration ofZoomPlugin.ID.classAmountThis object is wrapping the native java script object to set the position to pan the chart.classDragConfiguration item to define the style to apply to drag area, during zooming.classEventPointThis object is wrapping the native java script object provided byZoomContextto know the position of the event when pan or zoom are about to start.classLimitsEntity ofZoomPlugin.IDconfiguration in order to define the limits of X and Y scales for pan and zoom.classPanBase object to map pan options forZoomPlugin.IDplugin configuration.
It represents the container for PAN options.classPinchBase object to map wheel options forZoomPlugin.IDplugin configuration.
It represents the container for WHEEL options.classScaleLimitEntity ofZoomPlugin.IDconfiguration in order to set minimum and maximum values of the scales for pan or zoom.classScaleRangeEntity ofZoomPlugin.IDconfiguration in order to set minimum and maximum values of the scales for pan or zoom.
The values to set to the properties depends on the type of scales are used.classWheelBase object to map wheel options forZoomPlugin.IDplugin configuration.
It represents the container for WHEEL options.classZoomBase object to map zoom options forZoomPlugin.IDplugin configuration.
It represents the container for ZOOM options.classZoomContextThe callback or handler context, created and passed byZoomPlugin.IDwhich contains the link to the native chart and the event.classZoomOptionsThis is theZoomPlugin.IDplugin options where to set all the configuration needed to the plugin.
-