Package | Description |
---|---|
org.pepstock.charba.client | |
org.pepstock.charba.client.defaults.global | |
org.pepstock.charba.client.items |
Class and Description |
---|
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 and Description |
---|
Animation
It animates charts out of the box.
|
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. |
Elements
Options can be configured for four different types of elements: arc, lines, points, and rectangles.
|
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.
|
LegendLabels
This is the labels configuration of the legend.
|
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. |
Padding
It is applied to all sides of the chart (left, top, right, bottom).
|
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. |
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. |
Title
Configures the default chart title which defines text to draw at the top of the chart.
"weight"property is not present. |
Tooltips
Configuration element to set all attributes and features of the default tooltip.
|
Class and Description |
---|
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). |