Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Figure 1: SQL Chart Properties
Name | Description |
---|---|
Custom ID | Item link slug. Optional field. Unique field Value defined here must be unique to the rest of the Userview Menus as the first matching name will be called upon. |
Label | Menu label. Mandatory field. |
Chart Type |
|
Chart Title | Chart Title to be displayed part of the generated graph. |
Figure 2: SQL Chart Properties - Chart Options
Name | Description |
---|---|
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, legend will be shown in the generated graph. |
Show Value Label in Chart? | If checked, value label will be shown in the generated graph. |
Width | Width in character. Example 100% |
Height | Height in character. Example 300px |
Colors | Series color. Optional field. Comma separated values (CSV) of color codes. Example: Example #3333FF,#66FF00,#FF9933,#990000 Example red,orange,yellow,green,blue,indigo What are the default colors? |
Figure 3: SQL Chart Properties - SQL
Name | Description |
---|---|
SQL Query | SQL Query to produce the dataset required for the graph type.
|
Figure 4: SQL Chart Properties - UI
Name | Description |
---|---|
Custom Header | Custom Header in HTML. |
Custom Footer | Custom Footer in HTML. |
Figure 5: SQL Chart Properties - Advanced
Name | Description |
---|---|
Datasource |
If the default datasource is selected, the custom JDBC settings below will be ignored. |
Userview Key Name | When defined, additional condition will be appended using the value defined here as the parameter and the userview key value as the value. Example SQL: SELECT category, count(category) FROM table1 Userview Key Name: type Userview Key Value: val Resultant SQL: SELECT category, count(category) FROM table1 WHERE type = 'val' When userview key value is defined, you may define #userviewKey# in your SQL query to have it replaced with the userview key value. Example SQL: SELECT category, count(category) FROM table1 WHERE type = '#userviewKey#' Userview Key Value: val Resultant SQL: SELECT category, count(category) FROM table1 WHERE type = 'val' |