How to add a New Indicator
Note: These steps are for adding a new indicator to an existing program
Last updated
Note: These steps are for adding a new indicator to an existing program
Last updated
Navigate to the component created for the given report and into the "reports" folder.
Create a child component using the following CLI command: ng g c <indicator-name>
.
Once the component is created, fill the HTML and TypeScript files with references to previous indicators or with Angular/implementation knowledge.
Later, in the configuration file of that program, add an object with a unique key for that indicator.
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.
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.