Uses of Class
org.pepstock.charba.client.commons.AbstractNode
-
Packages that use AbstractNode Package Description org.pepstock.charba.client Main package with all charts implementation, global classes and common interfaces.org.pepstock.charba.client.annotation Contains all classes to activate theAnnotationPlugin.ID
plugin (AKAchartjs-plugin-annotation.js
) for CHART.js.org.pepstock.charba.client.annotation.elements Contains theAnnotationPlugin.ID
plugin elements interfaces to use in the callbacks and events.org.pepstock.charba.client.commons Core classes to manage the inter-operations with java script code.org.pepstock.charba.client.data Contains all elements to configure the datasets of a chart instance (know as chart data at instance level).org.pepstock.charba.client.datalabels Contains all classes to activate theDataLabelsPlugin.ID
plugin (AKAchartjs-plugin-datalabels.js
) for CHART.js.org.pepstock.charba.client.geo Contains all classes to activate the GEO controllers (AKAchartjs-chart-geo.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.items Contains all elements generated by CHART.JS, which are mapping java script objects, to use at runtime in plugins, events or controllers.org.pepstock.charba.client.labels Contains all classes to useLabelsPlugin.ID
plugin (AKAchartjs-plugin-labels.js
) available for CHART.JS.org.pepstock.charba.client.matrix Contains all classes to activate the Matrix controller (AKAchartjs-chart-matrix.js
) for CHART.js.org.pepstock.charba.client.options Contains all elements to configure charts at global level (know as chart global options).org.pepstock.charba.client.plugins Contains all classes to manage the plugin implementations.org.pepstock.charba.client.sankey Contains all classes to activate the Sankey controller (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.toast Contains all classes to useToaster
utility.org.pepstock.charba.client.zoom Contains all classes to activate theZoomPlugin.ID
plugin (AKAchartjs-plugin-zoom.js
) for CHART.js. -
-
Uses of AbstractNode in org.pepstock.charba.client
Subclasses of AbstractNode in org.pepstock.charba.client Modifier and Type Class Description class
ChartOptions
This object is mapping the default options related to the chart type.class
GlobalOptions
Default global options (maps the java script object chart.defaults.global).class
GlobalScale
Default global scale (maps the java script objectChart.defaults.scale
and the result ofChart.scaleService
). -
Uses of AbstractNode in org.pepstock.charba.client.annotation
Subclasses of AbstractNode in org.pepstock.charba.client.annotation Modifier and Type Class Description class
AbstractAnnotation
Base class to define an annotation in theAnnotationPlugin.ID
plugin.
It contains all commons properties to define an annotation.class
AlignPosition
This object is to set the position of a label, setting the horizontal and vertical position.class
AnnotationOptions
This is theAnnotationPlugin.ID
plugin options where to set all configuration items needed to the plugin.class
Arrow
Implements a ARROWHEADS, and its start and end nodes, to apply on a LINE annotation.class
ArrowHeads
Implements a ARROWHEADS to apply on a LINE annotation.class
BoxAnnotation
Implements 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.class
BoxLabel
Implements a LABEL to apply on a LINE annotation.class
Callout
Implements a CALLOUT to apply on a LABEL annotation.class
EllipseAnnotation
Implements 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.class
LabelAnnotation
Implements a LABEL annotation which draws a content in the a chart.class
LineAnnotation
Implements a LINE annotation which draws a line in the a chart.class
LineLabel
Implements a LABEL to apply on a LINE annotation.class
PointAnnotation
Implements a POINT annotation which draws a point in the a chart.class
PolygonAnnotation
Implements a POLYGON annotation which draws a polygon in the a chart. -
Uses of AbstractNode in org.pepstock.charba.client.annotation.elements
Subclasses of AbstractNode in org.pepstock.charba.client.annotation.elements Modifier and Type Class Description class
AnnotationElement
Maps 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.class
ArrowElement
Maps the arrow options of aAnnotationElement
at runtime.class
ArrowHeadsElement
Maps the arrow heads options of aAnnotationElement
at runtime.class
CalloutElement
Maps the label options of aAnnotationElement
at runtime.class
LabelElement
Maps the label options of aAnnotationElement
at runtime.class
OptionsElement
Maps the options of aAnnotationElement
at runtime. -
Uses of AbstractNode in org.pepstock.charba.client.commons
Methods in org.pepstock.charba.client.commons that return AbstractNode Modifier and Type Method Description protected AbstractNode
PropertyHandler. getParent()
Returns the parent.protected AbstractNode
AbstractNode. getParentNode()
Returns the parent node.protected AbstractNode
AbstractNode. getRootNode()
Returns the root node.protected AbstractNode
AbstractNode. retrieveRoot()
Called recursively till the root of nodes.Methods in org.pepstock.charba.client.commons with parameters of type AbstractNode Modifier and Type Method Description static String
HasCallbackScope. extractScope(AbstractNode node)
Extracts the scope tag from the root of the node in the options.void
CallbackPropertyHandler. setCallback(AbstractNode 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 void
AbstractNode. setInternalCallbackToModel(AbstractNode model, Key key, NativeCallback callback)
Adds a native callback function to a model at the specific key.protected void
AbstractNode. setInternalCallbackToModel(AbstractNode model, Key key, CallbackProxy.Proxy proxy)
Adds a proxy function to a model at the specific key.Constructors in org.pepstock.charba.client.commons with parameters of type AbstractNode 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.PropertyHandler(AbstractNode parent, D defaultValues, NativeObject nativeObject)
Creates a native object where one or more properties must be managed, cross classes and package. -
Uses of AbstractNode in org.pepstock.charba.client.data
Subclasses of AbstractNode in org.pepstock.charba.client.data Modifier and Type Class Description class
BarDataset
The bar chart allows a number of properties to be specified for each data set.class
BubbleDataset
The chart allows a number of properties to be specified for each data set.class
Dataset
The chart allows a number of properties to be specified for each data set.class
DoughnutDataset
The doughnut chart allows a number of properties to be specified for each dataset.class
HorizontalBarDataset
The 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.class
HoverDataset
The 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.class
HoverFlexDataset
This 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.class
LineDataset
The 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.class
LiningDataset
The 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.class
PieDataset
The pie chart allows a number of properties to be specified for each dataset.class
PolarAreaDataset
The polar area chart allows a number of properties to be specified for each dataset.class
RadarDataset
The radar chart allows a number of properties to be specified for each dataset.class
ScatterDataset
The scatter chart allows a number of properties to be specified for each dataset.class
StackedAreaDataset
The stacked area chart allows a number of properties to be specified for each dataset.class
StackedBarDataset
The stacked bar area chart allows a number of properties to be specified for each dataset.class
StackedHorizontalBarDataset
The stacked horizontal bar area chart allows a number of properties to be specified for each dataset.class
TimeSeriesBarDataset
The time series bar chart allows a number of properties to be specified for each dataset.class
TimeSeriesHorizontalBarDataset
The time series horizontal bar chart allows a number of properties to be specified for each dataset.class
TimeSeriesLineDataset
The time series line chart allows a number of properties to be specified for each dataset.class
VerticalLineDataset
The 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. -
Uses of AbstractNode in org.pepstock.charba.client.datalabels
Subclasses of AbstractNode in org.pepstock.charba.client.datalabels Modifier and Type Class Description class
DataLabelsOptions
This is theDataLabelsPlugin.ID
plugin 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.ID
plugin is highly customizable CHART.JS plugin that displays labels on data for any type of charts.class
LabelItem
This is the base forDataLabelsPlugin.ID
plugin 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.class
Listeners
This is the LISTENER options ofDataLabelsPlugin.ID
plugin allows to register callback(s) to be notified when an event is detected on a specific label. -
Uses of AbstractNode in org.pepstock.charba.client.geo
Subclasses of AbstractNode in org.pepstock.charba.client.geo Modifier and Type Class Description class
BubbleMapDataset
It is aBubbleDataset
with additional options for bubble map charts.class
BubbleMapPoint
The styling of the new elementBubbleMapPoint
is based onPoint
element with some additional options for the outline and graticule.class
ChoroplethBar
The styling of the new elementChoroplethBar
is based onBar
element with some additional options for the outline and graticule.class
ChoroplethDataset
The choropleth data set allows a region definition (byFeature
) and specific value to be specified.class
Legend
Legend configuration for GEO chart scale. -
Uses of AbstractNode in org.pepstock.charba.client.impl.charts
Subclasses of AbstractNode in org.pepstock.charba.client.impl.charts Modifier and Type Class Description class
GaugeDataset
The Gauge chart allows a number of properties to be specified for each dataset.class
MeterDataset
The Meter chart allows a number of properties to be specified for each dataset. -
Uses of AbstractNode in org.pepstock.charba.client.impl.plugins
Subclasses of AbstractNode in org.pepstock.charba.client.impl.plugins Modifier and Type Class Description class
ChartBackgroundColorOptions
Configuration options ofChartBackgroundColor.ID
plugin.class
ChartPointerOptions
Configuration options ofChartPointer.ID
plugin.
It manages the cursor to adopt when the cursor is over the dataset item and when not.class
ColorSchemesOptions
This is the object to map theColorSchemes.ID
plugin options, both at chart and global level.class
DatasetsItemsSelectorOptions
Configuration options ofDatasetsItemsSelector.ID
plugin.
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" optionsclass
HtmlLegendOptions
Configuration options ofHtmlLegend.ID
plugin.
This is mapping the configuration both default global and per chart instance. -
Uses of AbstractNode in org.pepstock.charba.client.items
Subclasses of AbstractNode in org.pepstock.charba.client.items Modifier and Type Class Description class
BorderRadiusItem
Defines the border radius for legend item element, applies the corner radius to all corners of the rectangle (topLeft, topRight, bottomLeft, bottomRight).class
LegendItem
This is a wrapper of the CHART.JS item which contains the legend item.class
LegendLabelItem
This object is created by callbacks and returned to CHART.JS as native object to configure the legend.class
NumberFormatItem
Number format options item to use for numeric tick callbacks.class
OptionsNode
Wrapper of options node of CHART.JS.Constructors in org.pepstock.charba.client.items with parameters of type AbstractNode Constructor Description LegendTextHandler(AbstractNode parent, OptionsEnvelop<NativeObject> envelop)
Creates a legend text handler with the envelop of the native object where TEXT property must be managed. -
Uses of AbstractNode in org.pepstock.charba.client.labels
Subclasses of AbstractNode in org.pepstock.charba.client.labels Modifier and Type Class Description class
Label
This is the object to map theLabelsPlugin.ID
plugin options, both at chart and global level.class
LabelsOptions
This is the object to map theLabelsPlugin.ID
plugin options, both at chart and global level. -
Uses of AbstractNode in org.pepstock.charba.client.matrix
Subclasses of AbstractNode in org.pepstock.charba.client.matrix Modifier and Type Class Description class
MatrixDataset
The 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 AbstractNode in org.pepstock.charba.client.options
Subclasses of AbstractNode in org.pepstock.charba.client.options Modifier and Type Class Description class
AbstractElement<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.class
AbstractModel<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.class
AbstractNumberFormat
This is abstract number format object element of the chart options.class
AbstractScale
Scales 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 linearclass
AbstractTitle<T extends IsDefaultAbstractTitle>
Configures the default chart title and subtitle which defines texts to draw at the top of the chart.class
Adapters
The following adapters element is used to configure a date adapter, injecting to support time series in the CHART.JS.class
AngleLines
It 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
.class
Animation
It 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.class
AnimationCollection
Is the base animation options with common properties for animation properties (property and collections of properties).class
AnimationContainer
Manages the ANIMATION, ANIMATIONS and TRANSITIONS properties of options in order to use the same logic among all options/configuration and datasets.class
Animations
It 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.class
AnimationTransition
Abstract options to define the animation for a specific update mode (transition).class
Arc
Arcs are used in the polar area, doughnut and pie charts.class
Bar
Bar elements are used to represent the bars in a bar chart.class
Datasets
Contains the options for the datasets.class
Decimation
The 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.X
the data set must be aLineDataset
the X axis for the data set must be either aCartesianLinearAxis
orCartesianTimeAxis
orCartesianTimeSeriesAxis
class
DisplayFormats
The display formats are used to configure how different time units are formed in the strings for the axis tick marks.class
Elements
Options 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.class
ExtendedOptions
Options 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.class
ExtendedScale
Scale options used internally inside the chart configuration.
Extends the normal scale options with all methods to add callbacks and events.class
ExtendedScales
Options used internally inside the chart configuration.
This is the SCALES element of configuration.class
Filler
The filler plugin can be used to fill the datasets.class
Font
Base object to map font options for configuration.class
Grid
The grid line configuration defines options for the grid that run perpendicular to the axis.class
Hover
Definitions about how elements appear in the tooltip, hovering the chart.class
Interaction
Definitions about how elements appear in the tooltip, hovering the chart.class
Layout
The layout configuration is needed to set the padding.class
Legend
The chart legend displays data about the datasets that area appearing on the chart.class
LegendLabels
This is the labels configuration of the legend.class
LegendTitle
This is the title configuration of the legend.class
Line
Line elements are used to represent the line in a line chart.class
Major
It defines options for the major tick marks that are generated by the axis.class
Options
Base object which maps chart options.class
Padding
Maps the additional space to apply to the sides of elements (left, top, right, bottom), in pixels.class
Plugins
Definitions about plugins options.class
Point
Point elements are used to represent the points in a line chart or a bubble chart.class
PointLabels
It 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
.class
Scale
Scales 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 linearclass
ScaleDateAdapter
This is abstract date adapter object element of the chart options.class
ScaledOptions
Base object which maps chart options, with scales elements to set axes configurations.class
Scales
The configuration element which contains all axes definitions.class
ScaleTitle
When creating a chart, you want to tell the viewer what data they are viewing.class
Segment
Contains 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.class
Subtitle
Configures the default chart subtitle which defines text to draw at the top of the chart.class
Ticks
All configuration for ticks of a chart.
It defines options for the tick marks that are generated by the axis.class
TicksNumberFormat
It applies the number formatting to the ticks of all linear scales.class
Time
The time configuration is used to configure how time and time series axes must configure the tick marks.class
Title
Configures the default chart title which defines text to draw at the top of the chart.class
Tooltips
Configuration element to set all attributes and features of the default tooltip.class
TooltipsCallbacks
Contains 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.class
Transitions
It 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.class
TypedDataset
Contains the options for the data sets.Methods in org.pepstock.charba.client.options with parameters of type AbstractNode Modifier and Type Method Description protected void
AbstractModel. setCallbackToModel(AbstractNode model, Key key, NativeCallback callback)
Adds a native callback function to a model at the specific key.protected void
AbstractModel. setCallbackToModel(AbstractNode model, Key key, CallbackProxy.Proxy proxy)
Adds a proxy function (for callbacks) to a model at the specific key.void
ExtendedOptions. setEvent(AbstractNode node, Key property, ConfigurationEnvelop<CallbackProxy.Proxy> envelop)
Adds a event proxy function to animation element instance.protected void
AbstractModel. setEventToModel(AbstractNode model, Key key, CallbackProxy.Proxy proxy)
Adds a proxy function (for events) to a model at the specific key.Method parameters in org.pepstock.charba.client.options with type arguments of type AbstractNode Modifier and Type Method Description void
ExtendedOptions. setCallback(ConfigurationEnvelop<AbstractNode> envelop, Key property, NativeCallback callback)
Adds a native callback function to a element node instance.void
ExtendedOptions. setCallback(ConfigurationEnvelop<AbstractNode> envelop, Key property, CallbackProxy.Proxy proxy)
Adds a callback proxy function to a element node instance.void
ExtendedScale. setCallback(ConfigurationEnvelop<AbstractNode> envelop, Key property, NativeCallback callback)
Adds a native callback function to a element node instance.void
ExtendedScale. setCallback(ConfigurationEnvelop<AbstractNode> envelop, Key property, CallbackProxy.Proxy proxy)
Adds a callback proxy function to a element node instance.Constructors in org.pepstock.charba.client.options with parameters of type AbstractNode Constructor Description AbstractFont(AbstractNode parent, IsDefaultFont defaultValues, NativeObject nativeObject)
Creates a font to use for chart configuration, wrapping a native object instance.AbstractPadding(AbstractNode parent, IsDefaultPadding defaultValues, NativeObject nativeObject)
Creates a padding to use for chart configuration, wrapping a native object instance.BarDatasetOptionsHandler(AbstractNode parent, IsDefaultTypedDataset defaultValues, DataEnvelop<NativeObject> envelop)
Creates an bar options handler with an envelop of the native object where properties must be managed and the default value to use when the property does not exist.FillHandler(AbstractNode parent, IsFill defaultValues, DataEnvelop<NativeObject> envelop)
Creates a fill handler with the native object where FILL property must be managed and the default value to use when the property does not exist.
This is called fromdata
package.FontContainer(AbstractNode parent, IsDefaultFontContainer defaultValues, NativeObject nativeObject)
Creates a font container with the native object where font properties must be managed and the default value to use when the property does not exist.PointStyleHandler(AbstractNode parent, IsDefaultPointStyleHandler defaultValues, NativeObject nativeObject)
Creates a point style handler with the native object where POINTSTYLE property must be managed and the default value to use when the property does not exist.SpanGapHandler(AbstractNode parent, IsDefaultOptions defaultValues, DataEnvelop<NativeObject> envelop)
Creates a span gap handler with the envelop of the native object where SPANGAPS property must be managed and the default value to use when the property does not exist. -
Uses of AbstractNode in org.pepstock.charba.client.plugins
Subclasses of AbstractNode in org.pepstock.charba.client.plugins Modifier and Type Class Description class
AbstractPluginOptions
Abstract plugin options where to set all the configuration needed to the plugin.Constructors in org.pepstock.charba.client.plugins with parameters of type AbstractNode 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 AbstractNode in org.pepstock.charba.client.sankey
Subclasses of AbstractNode in org.pepstock.charba.client.sankey Modifier and Type Class Description class
SankeyDataset
Sankey 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 AbstractNode in org.pepstock.charba.client.treemap
Subclasses of AbstractNode in org.pepstock.charba.client.treemap Modifier and Type Class Description class
Captions
The captions can control if and how a caption, to represent the group of the chart, can be shown in the rectangle,class
Dividers
The treemap data set allows to specify the values for displaying hierarchical data using nested rectangles.class
Labels
The labels can control if and how a label, to represent the data, can be shown in the rectangle.class
TreeMapDataset
The treemap data set allows to specify the values for displaying hierarchical data using nested rectangles. -
Uses of AbstractNode in org.pepstock.charba.client.utils.toast
Subclasses of AbstractNode in org.pepstock.charba.client.utils.toast Modifier and Type Class Description class
Action
Configures style of the toast actions.class
ActionItem
Defines user action to show on a toast in order to enable the user to act with the toast.class
DefaultToastOptions
Provides the defaults of the toast options.class
Label
Configures the toast label.class
Title
Configures the toast title.class
ToastOptions
Entity to configure the toast to show. -
Uses of AbstractNode in org.pepstock.charba.client.zoom
Subclasses of AbstractNode in org.pepstock.charba.client.zoom Modifier and Type Class Description class
AbstractConfigurationItem
Abstract element used by pan and zoom object in order to enable to provide the configuration ofZoomPlugin.ID
.class
Drag
Configuration item to define the style to apply to drag area, during zooming.class
Pan
Base object to map pan options forZoomPlugin.ID
plugin configuration.
It represents the container for PAN options.class
Pinch
Base object to map wheel options forZoomPlugin.ID
plugin configuration.
It represents the container for WHEEL options.class
Wheel
Base object to map wheel options forZoomPlugin.ID
plugin configuration.
It represents the container for WHEEL options.class
Zoom
Base object to map zoom options forZoomPlugin.ID
plugin configuration.
It represents the container for ZOOM options.class
ZoomOptions
This is theZoomPlugin.ID
plugin options where to set all the configuration needed to the plugin.
-