Charts
Charts ("Chart Controls") can be included in an X4 Web App.
Different types of charts can be included:
- Line chart
- Bar chart
- Pie/donut chart
- Gauge
All charts in a layout must be defined within a <Chart>
element.
Attribute | Description |
---|---|
title | Chart title Possible values: Any string or Data Binding |
| Enables the dowload of the charts as image files in SVG format. Possible values:
|
minHeight | Minimum height of the chart Possible values: Integer If the |
textOverflow | Specifies what happens when the control is full. Possible values:
|
The charts are optimized for size specifications in pixels. If an explicit definition of height and width of the diagram is needed, the units
attribute should be set to pixels
beforehand.
All charts must be filled via data binding!