Difference between revisions of "NotEnoughMembers"

From mn/ifi/inf5750
Jump to: navigation, search
(Group members)
Line 1: Line 1:
== Group members ==
== Group members ==
* Axel Hjelmervik Hansen (axelhha)
* Axel Hansen (axelhha)
* André Djupvik Sørensen (andreds)
* André Djupvik Sørensen (andreds)

Latest revision as of 20:02, 8 December 2018

Group members

  • Axel Hansen (axelhha)
  • André Djupvik Sørensen (andreds)


Stock Level Visualisations

Project description requirements

The application will make it possible to visualise stock level data in two different ways:

  • The time trend of the chosen stock for one organisation unit .
  • An estimate of numbers of months left of the chosen stock for a selection of organisation units.

Both will support configurable max and min stock levels, and organisation units with an estimation outside the threshold will be highlighted. An administrator should be able to set the max and min threshold as a default value, but users will have the possibility to override the values of the thresholds.

The calculations of the estimate of numbers of months left of stock is based on the average amounts of stock used in recent periods and the amount in stock this period.

(Stock available at the end of month)/average(Stock used in x recent months) = Estimated months of stock left

The app will also include an interface for selecting data elements and indicators for the analysis, so the app will be usable in different countries.


  • React
    • As our project will mainly revolve around UI and we're both interested in learning React, this seemed like the proper choice.
  • DHIS2 Data Visualizer
    • We want to reuse as much as possible of the plugins/tools that already exists in DHIS2.
    • We ended up using React Chartjs 2 due to time limitations.

Development timeline

Date Goal Comment
05-11 Prototype
19-11 All features implemented
26-11 Final testing


We are using React Chartjs 2 which uses the MIT license.

Division of labour

To ensure that every team member has a good knowledge of the project, each will work a little bit on everything.

As we're both new to React, this approach will also make sure that the average quality will be concise.


  • npm install
  • npm start

If you want a build in DHIS2:

  • npm run build
  • cd build
  • zip -r NAME.zip

Project repository