Package | Description |
---|---|
org.pepstock.charba.client |
Main package with all charts implementation, global classes and common interfaces.
|
org.pepstock.charba.client.geo |
Contains all classes to activate the GEO controllers (AKA
chartjs-chart-geo.js ) for CHART.js. |
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.options |
Contains all elements to configure charts at global level (know as chart global options).
|
Modifier and Type | Class and 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 object
Chart.defaults.scale and the result of Chart.scaleService ). |
Modifier and Type | Class and Description |
---|---|
class |
BubbleMapPoint
The styling of the new element
BubbleMapPoint is based on Point element with some additional options for the outline and graticule. |
class |
ChoroplethBar
The styling of the new element
ChoroplethBar is based on Bar element with some additional options for the outline and graticule. |
Modifier and Type | Class and Description |
---|---|
class |
OptionsNode
Wrapper of options node of CHART.JS.
|
Modifier and Type | Class and Description |
---|---|
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. |
Modifier and Type | Class and 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 |
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 linear |
class |
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 is true . |
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 an IndexAxis.X
the data set must be a LineDataset
the X axis for the data set must be either a CartesianLinearAxis or CartesianTimeAxis or CartesianTimeSeriesAxis
|
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 |
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 |
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 is true . |
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 linear |
class |
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 |
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 |
TypedDataset
Contains the options for the data sets.
|