Charts
Feature
Adds interactive charting to a Grid. Charts can be created from a selection of Grid data and updated in realtime as data changes. Supports many common chart types with extensive styling and customization options.
A context menu item New Chart is added that opens a popup containing a ChartDesigner using the data in the grid's current selection.
For an explanation of the various options available in the editor popup, see Chart.
This feature is disabled by default.
const grid = new Grid({
features : {
charts : true
}
});
See also
- ChartColumn - Column displaying a chart per row
- SparklineColumn - Column with inline sparkline charts
Configs
Configs are options you supply in a configuration object when creating an instance of this class-
(Optional) Configuration options to provide to the ChartDesigner
-
Whether to display in minimal mode, where popup title is hidden, chart preview occupies full area, and settings panel is minimized. Setting this to
truealso setsminimal : trueon the child ChartDesigner.Has a corresponding runtime minimal property.
-
(Optional) Configuration options to provide to the Popup.
Properties
Properties are getters/setters or publicly accessible variables on this class-
Identifies an object as an instance of Charts class, or subclass thereof.
-
Whether to display in minimal mode, where popup title is hidden, chart preview occupies full area, and settings panel is minimized. Setting this to
truealso setsminimal : trueon the child ChartDesigner.Has a corresponding minimal config.
-
Identifies an object as an instance of Charts class, or subclass thereof.
Functions
Functions are methods available for calling on the class-
Open the chart designer popup with the current Grid selection as data source.