Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
...
Chart menu allows you to select a form binder or define your own SQL query to display the chart data for the most common graph types. You can also include charts in your userview UI Dashboard Menu.
...
Name | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Datasource | Select the datasource for the chart.
| |||||||||||||||
SQL Query | When Datasource is set to "Default Datasource" or "Custom Datasource", this option will show up. You use an SQL Query to produce the dataset required for the graph type. The first column in the dataset will be assumed for the X-axis/label. Example 1:The first column to be returned from the query must be a label (X-axis), followed by value columns for the Y-axis.
Example 2:
| |||||||||||||||
Data Store | When Datasource is set to "Load Data From", this option will show up. Advance Form Data Binder has more flexible ways to build chart datasets using join, group, and aggregate functions. Please see Datalist Binder for the available binders to use. | |||||||||||||||
Configure Database | This option is available when the Datasource is set to "Custom Datasource" (Figure 2a).
| |||||||||||||||
Using List |
|
...
Name | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
Order By | Column to be sorted in the graph dataset. This would affect how the graph is plotted. | ||||||||
Order |
| ||||||||
X-axis Value | X-axis label. | ||||||||
Y-axis Values | Y-axis dataset.
| ||||||||
Add Row | Add another dataset to be plotted on the Y-axis. |
Figure 4: Chart Options
Name | Description | |||||
---|---|---|---|---|---|---|
Echart Theme | This option appears when Echart Library is selected in Configure Chart (Fig 1). | |||||
X-axis Label | X-axis Label | |||||
X-axis display as |
| |||||
Y-axis Label | Y-axis Label | |||||
Y-axis Prefix | Y-axis Prefix | |||||
Show Legend? | If checked, the legend will be shown in the generated graph. | |||||
Show Value Label in Chart? | If checked, the value label will be shown in the generated graph. | |||||
Stack Series? | If checked, this will affect the generated graph. | |||||
Display as Horizontal Chart? | Display as Horizontal Chart. | |||||
Width | Width in character, for example 100%. | |||||
Height | Height in character, example 300px. | |||||
Colors | Series color. Optional field. This option only appears when jqPlots Library is selected in Configure Chart. Comma-separated values (CSV) of color codes. Example 1: #3333FF,#66FF00,#FF9933,#990000
|
Figure 5: Advanced Properties
Name | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Userview UI Key Name | When defined, the additional conditions will be appended using the value defined here as the parameter and the userview key value as the value.
When userview UI key value is defined, you may define #userviewKey# in your SQL query to have it replaced with the userview UI key value.
| ||||||||||
Custom Header | Custom Header in HTML. | ||||||||||
Custom Footer | Custom Footer in HTML. |
...