Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.Image Removed

...

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.Image Removed

...

Anchor
Examples
Examples
Examples

Opened vs Resolved Issues Report

Include Page
Opened vs Resolved Issues (Chart Report)
Opened vs Resolved Issues (Chart Report)

Issues in status report

Include Page
Issues in status report
Issues in status report

Chart from JSON

Include Page
Chart from JSON
Chart from JSON