Package | Description |
---|---|
org.pepstock.charba.client |
Main package with all charts implementation, global classes and common interfaces.
|
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).
|
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. |
class |
AbstractTick<P extends AbstractModel<?,?>,D extends IsDefaultFontItem>
Configures the ticks of an axis.
Common base class for ticks. |
class |
FontItem<P extends AbstractModel<?,?>,D extends IsDefaultFontItem>
Base object to map font options for configuration.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractElement<D extends IsDefaultArc>
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 |
AbstractTick<P extends AbstractModel<?,?>,D extends IsDefaultFontItem>
Configures the ticks of an axis.
Common base class for ticks. |
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 |
Animation
It animates charts out of the box.
|
class |
Arc
Arcs are used in the polar area, doughnut and pie charts.
|
class |
DisplayFormats
The following display formats are used to configure how different time units are formed into strings for the axis tick marks.
|
class |
Elements
Options can be configured for four different types of elements: arc, lines, points, and rectangles.
|
class |
ExtendedOptions
Options used internally inside the chart configuration.
|
class |
ExtendedScale
Scale options used internally inside the chart configuration.
Extends the normal scale options with all methods to add callbacks and events. |
class |
FontItem<P extends AbstractModel<?,?>,D extends IsDefaultFontItem>
Base object to map font options for configuration.
|
class |
GridLines
The grid line configuration defines options for the grid lines that run perpendicular to the axis.
|
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.
|
class |
Options
Base object which maps chart options.
|
class |
Padding
It is applied to all sides of the chart (left, top, right, bottom).
|
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 |
Rectangle
Rectangle elements are used to represent the bars in a bar chart.
|
class |
Scale
Axes are an integral part of a chart.
|
class |
ScaledOptions
Base object which maps chart options, with scales elements to set axes configurations.
|
class |
ScaleLabel
When creating a chart, you want to tell the viewer what data they are viewing.
|
class |
ScaleLabelPadding
It is applied to all sides of the scale label object of axes (left, top, right, bottom).
|
class |
Scales
The configuration element which contains all axes definitions.
|
class |
TickMajor
It defines options for the major tick marks that are generated by the axis.
|
class |
TickMinor
It defines options for the minor tick marks that are generated by the axis.
|
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 following display formats are used to configure how different time units are formed into strings for the axis 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 into chart configuration. |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractModel.setCallbackToModel(AbstractModel<?,?> model,
Key key,
CallbackProxy.Proxy proxy)
Adds a proxy function (for callbacks) to a model at the specific key.
|
protected void |
AbstractModel.setEventToModel(AbstractModel<?,?> model,
Key key,
CallbackProxy.Proxy proxy)
Adds a proxy function (for events) to a model at the specific key.
|