Power Dashboard Reports and Gadgets allow users to write SIL code and use the predefined chart structures in order to generate line, bar, pie or doughnut charts.
Contents
Table of Contents |
---|
Configuring SIL Reporting Gadget
...
To configure the gadget you have to select the script file and add the default values for the parameters used in the selected script.
...
The parameters will be passed into the program using the argv variable. The values will be available using a construct like argv["parameter_name"] or argv[position]. For the above example, the project can be retrieved using argv["project"] or argv[0].
...
Once you save the gadget configuration, the report will be displayed.
Note |
---|
The script that you are using to generate the report needs to return the chart structure that you are building otherwise the report will throw an error. |
If you want to return information about another project without having to configure the gadget, all you have to do is add a field for the project using one of the routines for creating fields from gadget routines. After that you will be able to set parameter in the parameter section and run the report with the new value.
...
Anchor | ||||
---|---|---|---|---|
|
Opened vs Resolved Issues Report
Include Page | ||||
---|---|---|---|---|
|
Issues in status report
Include Page | ||||
---|---|---|---|---|
|
Chart from JSON
Include Page | ||||
---|---|---|---|---|
|