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. |
Modifier and Type | Class and Description |
---|---|
class |
FontItem
Base object to map font options of globals.
|
Constructor and Description |
---|
AbstractItem(AbstractItem parent,
Key childKey)
Builds the item with the parent item and child key.
Reads from parent java script object the object of this element. |
FontItem(AbstractItem parent,
Key childKey)
Builds the object with parent item and child.
|
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.
|
Constructor and Description |
---|
Scale(AbstractItem parent,
Key childKey)
Builds the object with parent item and child.
|
Scales(AbstractItem parent,
Key childKey)
Builds the object with parent item and child.
|
Modifier and Type | Class and Description |
---|---|
class |
OptionsNode
Wrapper of options node of CHART.JS.
|