How to add a New Indicator

Note: These steps are for adding a new indicator to an existing program

  1. Navigate to the component created for the given report and into the "reports" folder.

  2. Create a child component using the following CLI command: ng g c <indicator-name>.

  3. Once the component is created, fill the HTML and TypeScript files with references to previous indicators or with Angular/implementation knowledge.

  4. Later, in the configuration file of that program, add an object with a unique key for that indicator.

  5. Fill the configurations according to the reference again with the older indicators and fill the queries using the datasets ingested for this indicator for every level that this indicator is required for.

  1. Based on the chart type, you can also provide options in the same configurations, such as titles, color of the columns, legend of the map report, etc.

Last updated