Chart Configuration
To configure a new chart you go to System → Dashboard → Chart and click on “Add Chart” button on the top right corner.
Below is the list of available fields and their meaning:
Field: | Description |
Panel | A select field to choose on which panel you want this chart to show. |
Type | If selected you can create a chart of custom type. |
Chart Type | It’s only visible if a custom type is selected on the above field. It contains different chart types such as pie, bar, horizontal, line etc. |
Code | It’s a unique key to identify the chart. |
Title | It’s the name to be displayed of the chart. |
Columns | It represents the width of a chart square on the panel. |
Position | The position where the chart will be displayed on the panel. |
Cache Time | The duration in which the chart queries will be saved in the cache. |
Expression | Here it’s written all the needed custom code and database queries to style the chart and fill it with data. |
NOTE: Chart configuration requires a deep understanding of utilizing advanced coding within the scripting area. Specifically, chart datasets can only be manipulated through the “expression” field.