Package | Description |
---|---|
org.pepstock.charba.client |
Main package with all charts implementation, global classes and common interfaces.
|
org.pepstock.charba.client.callbacks |
All callbacks interfaces to be implemented, also to use the scriptable options of CHART.JS.
|
org.pepstock.charba.client.configuration |
Contains all elements to configure a chart instance (know as chart options at instance level).
|
org.pepstock.charba.client.events |
Contains all events to interact with chart instance.
|
org.pepstock.charba.client.gwt.widgets |
Contains all charts classes wrapped as GWT widget in order to enable to use inside to GWT UIBinder.
|
org.pepstock.charba.client.impl.callbacks |
Contains some callbacks implementations, available out-of-the box.
|
org.pepstock.charba.client.impl.charts |
Contains METER and GAUGE charts implementations (based on controllers), available out-of-the box.
|
Class and Description |
---|
BarOptions
Specific options for BAR chart.
|
BubbleOptions
Specific options for BUBBLE chart.
|
ConfigurationOptions
Base object which maps chart configuration.
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). |
DoughnutOptions
Specific options for DOUGHNUT chart.
|
LineOptions
Specific options for LINE chart.
|
PieOptions
Specific options for PIE chart.
|
PolarAreaOptions
Specific options for POLAR AREA chart.
|
RadarOptions
Specific options for RADAR chart.
|
ScatterOptions
Specific options for SCATTER chart.
|
StackedOptions
Configuration of chart which could be stacked.
It uses Category axis for X axis and Linear for Y axis. |
TimeSeriesBarOptions
Specific options for BAR chart, for time series.
|
TimeSeriesLineOptions
Specific options for LINE chartfor time series.
|
Class and Description |
---|
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 and Description |
---|
AbstractPieOptions
Abstract options for PIE chart.
|
Adapters
The following adapters element is used to configure a date adapter, injecting to support time series into CAHRT.JS.
|
Animation
It animates charts out of the box.
|
Arc
Arcs are used in the polar area, doughnut and pie charts.
|
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. |
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. |
CartesianLinearAxis
This object is used to map defined axis as linear.
|
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. |
CartesianLogarithmicTick
The logarithmic scale is use to chart numerical data.
|
CartesianPadding
It is applied to all sides of the chart (left, top, right, bottom).
|
CartesianTimeAxis
This object is used to map defined axis as time.
|
CartesianTimeTick
The time scale is use to chart time data.
It can be placed on either the x or y axis. |
ConfigurationOptions
Base object which maps chart configuration.
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). |
DisplayFormats
The following display formats are used to configure how different time units are formed into strings for the axis tick marks.
|
Elements
Options can be configured for four different types of elements: arc, lines, points, and rectangles.
When set, these options apply to the configuration attached to a dataset. |
GridLines
The grid line configuration defines options for the grid lines that run perpendicular to the axis.
|
Hover
Definitions about how elements appear in the tooltip, hovering the chart.
|
IsLinearTick
Common methods for linear scale is use to chart numerical data.
Can be used for cartesian and radial axes. |
Layout
The layout configuration is needed to set the padding.
|
Legend
The chart legend displays data about the datasets that area appearing on the chart.
|
LegendLabels
This is the labels configuration of the legend.
|
Line
Line elements are used to represent the line in a line chart.
|
Padding
It is applied to all sides of the chart (left, top, right, bottom).
|
Plugins
Definitions about plugins options.
This is used to configure plugins (mainly the global ones). Every plugin could have own configuration structure. The java script object key is the plugin id. |
Point
Point elements are used to represent the points in a line chart or a bubble chart.
|
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. |
RadialLinearTick
This object is used to map defined radial axis as linear.
|
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. |
Rectangle
Rectangle elements are used to represent the bars in a bar chart.
|
Scales
The configuration element which contains all axes definitions.
|
SingleScaleOptions
Configuration of chart with only 1 scale.
|
Time
The following display formats are used to configure how different time units are formed into strings for the axis tick marks.
|
Title
Configures the chart title which defines text to draw at the top of the chart.
|
Tooltips
Configuration element to set all attributes and features of the tooltip.
|
TooltipsCallbacks
Contains all callbacks defined for a toolitp.
|
Class and Description |
---|
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 and Description |
---|
BarOptions
Specific options for BAR chart.
|
BubbleOptions
Specific options for BUBBLE chart.
|
DoughnutOptions
Specific options for DOUGHNUT chart.
|
LineOptions
Specific options for LINE chart.
|
PieOptions
Specific options for PIE chart.
|
PolarAreaOptions
Specific options for POLAR AREA chart.
|
RadarOptions
Specific options for RADAR chart.
|
ScatterOptions
Specific options for SCATTER chart.
|
StackedOptions
Configuration of chart which could be stacked.
It uses Category axis for X axis and Linear for Y axis. |
TimeSeriesBarOptions
Specific options for BAR chart, for time series.
|
TimeSeriesLineOptions
Specific options for LINE chartfor time series.
|
Class and Description |
---|
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 and Description |
---|
AbstractPieOptions
Abstract options for PIE chart.
|
ConfigurationOptions
Base object which maps chart configuration.
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). |
Hover
Definitions about how elements appear in the tooltip, hovering the chart.
|
Layout
The layout configuration is needed to set the padding.
|
Legend
The chart legend displays data about the datasets that area appearing on the chart.
|
Tooltips
Configuration element to set all attributes and features of the tooltip.
|