Modifier and Type | Class and Description |
---|---|
class |
GlobalOptions
Contains the GLOBAL options for a specific chart instance.
Loaded when a new chart instance is created. It's the result of merging of different global options. |
class |
UpdateConfiguration
Object can be provided with additional configuration for the update/render process.
This is useful when update is manually called inside an event handler and some different animation is desired. |
Modifier and Type | Class and Description |
---|---|
class |
TooltipLabelColor
Item which contains the colors to apply to tooltip labels.
|
Modifier and Type | Class and Description |
---|---|
class |
JsObjectContainerArrayList<E extends JavaScriptObjectContainer>
An ordered collection (also known as a sequence).
|
Modifier and Type | Class and Description |
---|---|
class |
ChartContainer
Extends a JavaScript object container for all entities which needs the chart instance.
This class is used for all entities which will trigger events or callbacks to pass the chart instance as parameter of implemented interface. |
class |
EventProvider
Is a JavaScript object container, which contains THE chart instance, which will manage chart events to events handlers.
|
Modifier and Type | Method and Description |
---|---|
static JavaScriptObjectContainer |
Merger.merge(JavaScriptObjectContainer target,
JavaScriptObjectContainer source,
java.lang.String property)
Copies
source properties (creating a new java script object and setting the source one with the property argument)
into target only if not defined in target.target is not cloned and will be updated with source properties.The property is |
static JavaScriptObjectContainer |
Merger.merge(JavaScriptObjectContainer target,
com.google.gwt.core.client.JavaScriptObject source,
java.lang.String property)
Copies
source properties (creating a new java script object and setting the source one with the property argument)
into target only if not defined in target.target is not cloned and will be updated with source properties.The property is |
static JavaScriptObjectContainer |
Merger.merge(com.google.gwt.core.client.JavaScriptObject target,
JavaScriptObjectContainer source,
java.lang.String property)
Copies
source properties (creating a new java script object and setting the source one with the property argument)
into target only if not defined in target.target is not cloned and will be updated with source properties.The property is |
static JavaScriptObjectContainer |
Merger.merge(com.google.gwt.core.client.JavaScriptObject target,
com.google.gwt.core.client.JavaScriptObject source,
java.lang.String property)
Copies
source properties (creating a new java script object and setting the source one with the property argument)
into target only if not defined in target.target is not cloned and will be updated with source properties.The property is |
Modifier and Type | Method and Description |
---|---|
static void |
Merger.merge(JavaScriptObjectContainer target,
com.google.gwt.core.client.JavaScriptObject source)
Copies
source properties into target only if not defined in target.target is not cloned and will be updated with source properties. |
static void |
Merger.merge(JavaScriptObjectContainer target,
JavaScriptObjectContainer source)
Copies
source properties into target only if not defined in target.target is not cloned and will be updated with source properties. |
static JavaScriptObjectContainer |
Merger.merge(JavaScriptObjectContainer target,
JavaScriptObjectContainer source,
java.lang.String property)
Copies
source properties (creating a new java script object and setting the source one with the property argument)
into target only if not defined in target.target is not cloned and will be updated with source properties.The property is |
static JavaScriptObjectContainer |
Merger.merge(JavaScriptObjectContainer target,
com.google.gwt.core.client.JavaScriptObject source,
java.lang.String property)
Copies
source properties (creating a new java script object and setting the source one with the property argument)
into target only if not defined in target.target is not cloned and will be updated with source properties.The property is |
static void |
Merger.merge(com.google.gwt.core.client.JavaScriptObject target,
JavaScriptObjectContainer source)
Copies
source properties into target only if not defined in target.target is not cloned and will be updated with source properties. |
static JavaScriptObjectContainer |
Merger.merge(com.google.gwt.core.client.JavaScriptObject target,
JavaScriptObjectContainer source,
java.lang.String property)
Copies
source properties (creating a new java script object and setting the source one with the property argument)
into target only if not defined in target.target is not cloned and will be updated with source properties.The property is |
protected void |
JavaScriptObjectContainer.setValue(Key key,
JavaScriptObjectContainer container)
Sets a value (JavaScript object container) into embedded JavaScript object at specific property.
|
Modifier and Type | Class and Description |
---|---|
class |
Context
This object stores the
this instance of java script because is necessary to invoke the
default methods of controller when it's extending an existing chart. |
class |
StyleElement
Element used by controller by
removeHoverStyle and setHoverStyle methods. |
protected static class |
StyleElement.InternalScaleItem
Internal class to extend scale items.
|
Modifier and Type | Class and Description |
---|---|
class |
BarDataset
The bar chart allows a number of properties to be specified for each dataset.
|
class |
BubbleDataset
The chart allows a number of properties to be specified for each dataset.
|
class |
Data
CHART.JS entity object to configure the data options of a chart.
It contains labels and datasets. |
class |
DataPoint
Used for sparse datasets, such as those in scatter charts.
|
class |
Dataset
The chart allows a number of properties to be specified for each dataset.
|
class |
DoughnutDataset
The doughnut chart allows a number of properties to be specified for each dataset.
|
class |
GaugeDataset
The Gauge chart allows a number of properties to be specified for each dataset.
|
class |
LineDataset
The line 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.
|
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 |
PolarDataset
The polar 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.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractItem
Abstract item of default global and charts options and scales.
|
class |
FontItem
Base object to map font options of globals.
|
Modifier and Type | Class and Description |
---|---|
class |
Animation
It animates charts out of the box.
|
class |
Arc
Arcs are used in the polar area, doughnut and pie charts.
While chart types provide settings to configure the styling of each dataset, you sometimes want to style all datasets the same way. Options can be configured for four different types of elements: arc, lines, points, and rectangles. When set, these options apply to all objects of that type unless specifically overridden by the configuration attached to a dataset. |
class |
Elements
Options can be configured for four different types of elements: arc, lines, points, and rectangles.
|
class |
Hover
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 |
Line
Line elements are used to represent the line in a line chart.
While chart types provide settings to configure the styling of each dataset, you sometimes want to style all datasets the same way. Options can be configured for four different types of elements: arc, lines, points, and rectangles. When set, these options apply to all objects of that type unless specifically overridden by the configuration attached to a dataset. |
class |
Options
Base object which maps chart options.
Important topics to take care: Responsive When it comes to change the chart size based on the window size, a major limitation is that the canvas render size (canvas.width and .height) can not be expressed with relative values, contrary to the display size (canvas.style.width and .height). |
class |
Padding
It is applied to all sides of the chart (left, top, right, bottom).
|
class |
Point
Point elements are used to represent the points in a line chart or a bubble chart.
While chart types provide settings to configure the styling of each dataset, you sometimes want to style all datasets the same way. Options can be configured for four different types of elements: arc, lines, points, and rectangles. When set, these options apply to all objects of that type unless specifically overridden by the configuration attached to a dataset. |
class |
Rectangle
Rectangle elements are used to represent the bars in a bar chart.
While chart types provide settings to configure the styling of each dataset, you sometimes want to style all datasets the same way. Options can be configured for four different types of elements: arc, lines, points, and rectangles. When set, these options apply to all objects of that type unless specifically overridden by the configuration attached to a dataset. |
class |
Title
Configures the default chart title which defines text to draw at the top of the chart.
"weight"property is not present. |
class |
Tooltips
Configuration element to set all attributes and features of the default tooltip.
|
Modifier and Type | Class and Description |
---|---|
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 is true. |
class |
GridLines
The grid line configuration defines options for the grid lines that run perpendicular to the axis.
|
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 is true. |
class |
Scale
Axes are an integral part of a chart.
|
class |
ScaleLabel
When creating a chart, you want to tell the viewer what data they are viewing.
|
class |
Scales
The configuration element which contains all axes definitions.
It maps the CHART.JS object of default, chart.defaults.[chart_type].scales . |
class |
Ticks
All configuration for ticks of a chart.
|
Modifier and Type | Class and Description |
---|---|
class |
AnimationItem
The onProgress and onComplete event are useful for synchronizing an external draw to the chart animation.
This is the CHART.JS item with all needed info. |
class |
AxisItem
There 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 the CHART.JS item with all needed info about an axis. |
class |
AxisMarginsItem
JavaScript object which contains the margins sizes of an axis.
This object reflects the object created by CHART.JS and is provided to Axis callbacks. |
class |
AxisMinSizeItem
JavaScript object which contains the minimum size of an axis.
This object reflects the object created by CHART.JS and is provided to Axis callbacks. |
class |
BaseBoxItem
Base object which maps the CHART.JS chart items which represents a box.
|
class |
BaseBoxNodeItem
Base object which maps the CHART.JS chart items and represents main nodes of chart java script object.
|
class |
ChartAreaItem
Object which maps the chart area item of CHART.JS chart java script object.
|
class |
ChartNode
Main object node which maps CHART.JS java script object in order to retrieve chart information (for instances
dimensions of all chart elements) at runtime.
|
class |
DatasetItem
Calling 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 dataset. |
class |
DatasetMetaItem
This object is just a proxy object, created from JavaScript side, to wrap an JavaScript array.
Created and passed by CHART.JS. |
class |
DatasetViewItem
This 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. |
class |
LegendHitBoxItem
JavaScript object which contains the legends hit box size.
|
class |
LegendItem
JavaScript object which contains the legends hit box size.
|
class |
LegendLabelItem
This object is created by CHART.JS and passed to all callbacks and events handlers related to legend entity.
|
class |
LegendNode
Wrapper of legend node of CHART.JS.
|
class |
MarginsItem
It is applied to all sides of the chart (left, top, right, bottom).
|
class |
OptionsNode
Wrapper of options node of CHART.JS.
|
class |
ScaleItem
Wraps the scale item of CHART JS chart.
|
class |
ScaleLongestTextCacheItem
Legend internal object to get data about ticks and their length in pixels.
|
class |
ScalesNode
Wrapper of scales node of CHART.JS.
|
class |
SizeItem
This item contains the new size of the chart after it has been resized.
This object has been created ONLY when a resize event occurs. |
class |
TickItem
This item contains the tick info item.
It has been created to change the tick marks. |
class |
TitleNode
Wrapper of title node of CHART.JS.
|
class |
TooltipBodyItem
This object is passed by CHART.JS to the callback to manage tooltip body.
|
class |
TooltipItem
Contains all info for every item of tooltip.
Created and passed by CHART.JS. It uses into the tooltips callbacks. |
class |
TooltipItemArray
This object is just a proxy object, created from JavaScript side, to wrap an JavaScript array.
Created and passed by CHART.JS. This object is NOT used or passed to any callbacks or event handling |
class |
TooltipModel
This 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. |
class |
TooltipNode
Wrapper of tooltip node of CHART.JS.
|
Modifier and Type | Class and Description |
---|---|
class |
BarOptions
Specific options for BAR chart.
|
class |
BaseOptions
Base object which maps chart options.
Charba stores the unique chart ID into CHART.JS chart options using charbaId property key.Important topics to take care: Responsive When it comes to change the chart size based on the window size, a major limitation is that the canvas render size (canvas.width and .height) can not be expressed with relative values, contrary to the display size (canvas.style.width and .height). |
class |
BubbleOptions
Specific options for BUBBLE chart.
|
class |
DoughnutOptions
Specific options for DOUGHNUT chart.
|
class |
GaugeOptions
Specific options for GAUGE chart.
|
class |
LineOptions
Specific options for LINE chart.
|
class |
MeterOptions
Specific options for METER chart.
|
class |
MultiScalesOptions
Configuration of chart with multiple scales.
|
class |
PieOptions
Specific options for PIE chart.
|
class |
Plugins
Definitions about plugins options.
|
class |
PolarAreaOptions
pecific options for POLAR AREA chart.
|
class |
RadarOptions
Specific options for RADAR chart.
|
class |
ScatterOptions
Specific options for SCATTER chart.
|
class |
SingleScaleOptions
Configuration of chart with only 1 scale.
|
class |
StackedOptions
Configuration of chart which could be stacked.
It uses Category axis for X axis and Linear for Y axis. |
class |
TooltipsCallbacks
Contains all callbacks defined for a toolitp.
|
Modifier and Type | Class and Description |
---|---|
class |
Axis
Axes are an integral part of a chart.
They are used to determine how data maps to a pixel value on the chart. It contains a number of config callbacks that can be used to change parameters in the scale at different points in the update process. |
class |
BarCategoryAxis
This a cartesian axis for BAR chart.
|
class |
BaseTick
Base object to map an axis tick.
It is also common to want to change the tick marks to include information about the data type. To do this, you need to add a callback in the axis configuration. |
class |
CartesianCategoryAxis
This object is used to map defined axis as category.
|
class |
CartesianCategoryTick
The category scale provides the following options for configuring tick marks.
The labels are drawn from one of the label arrays included in the chart data. |
class |
CartesianLinearAxis
This object is used to map defined axis as linear.
|
class |
CartesianLinearTick
The linear scale is use to chart numerical data.
It can be placed on either the x or y axis. The scatter chart type automatically configures a line chart to use one of these scales for the x axis. As the name suggests, linear interpolation is used to determine where a value lies on the axis. |
class |
CartesianLogarithmicAxis
This object is used to map defined axis as logarithmic.
|
class |
CartesianLogarithmicTick
The logarithmic scale is use to chart numerical data.
|
class |
CartesianScaleLabel
When creating a chart, you want to tell the viewer what data they are viewing.
|
class |
CartesianTimeAxis
This object is used to map defined axis as time.
|
class |
CartesianTimeTick
The time scale is use to chart time data.
It can be placed on either the x or y axis. |
class |
DisplayFormats
The following display formats are used to configure how different time units are formed into strings for the axis tick marks.
|
class |
RadialAngleLines
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 is true. |
class |
RadialAxis
Radial axes are used specifically for the radar and polar area chart types.
These axes overlay the chart area, rather than being positioned on one of the edges. The linear scale is use to chart numerical data. As the name suggests, linear interpolation is used to determine where a value lies in relation the center of the axis. |
class |
RadialLinearTick
This object is used to map defined radial axis as linear.
|
class |
RadialPointLabels
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 is true. |
class |
StackedScales
Specific scales for stacked charts.
|
class |
Time
The following display formats are used to configure how different time units are formed into strings for the axis tick marks.
|
Modifier and Type | Class and Description |
---|---|
class |
ChartBackgroundColorOptions
Configuration options of background color plugin.
|