1.0.7 • Published 4 years ago

@iapps/visualization v1.0.7

Weekly downloads
134
License
AGPL-3.0-or-later
Repository
github
Last release
4 years ago

Highcharts 90-90-90 Cascade Graph Library

90-90-90 HIV Prevention, Engagement and Care Cascade Graph(i.e Treatment target graph to help end the AIDS epidemic)

CircleCI Build Status Greenkeeper badge Maintainability Test Coverage

Introduction

Ending the AIDS epidemic is more than a historic obligation to the 39 million people who have died of the disease. It also represents a momentous opportunity to lay the foundation for a healthier, more just and equitable world for future generations. Ending the AIDS epidemic will inspire broader global health and development efforts, demonstrating what can be achieved through global solidarity, evidence-based action and multisectoral partnerships.

npm.io

Although many strategies will be needed to close the book on the AIDS epidemic, one thing is certain. It will be impossible to end the epidemic without bringing HIV treatment to all who need it.

As the world contemplates the way forward following the 2015 deadline for the targets and commitments in the 2011 Political Declaration on HIV and AIDS, a final target is needed to drive progress towards the concluding chapter of the AIDS epidemic, promote accountability and unite diverse stakeholders in a common effort. Whereas previous AIDS targets sought to achieve incremental progress in the response, the aim in the post-2015 era is nothing less than the end of the AIDS epidemic by 2030.

In December 2013, the UNAIDS Programme Coordinating Board called on UNAIDS to support country- and region-led efforts to establish new targets for HIV treatment scale-up beyond 2015. In response, stakeholder consultations on new targets have been held in all regions of the world. At the global level, stakeholders assembled in a variety of thematic consultations focused on civil society, laboratory medicine, paediatric HIV treatment, adolescents and other key issues.

Powerful momentum is now building towards a new narrative on HIV treatment and a new, final, ambitious, but achievable target:

  • By 2020, 90% of all people living with HIV will know their HIV status.
  • By 2020, 90% of all people with diagnosed HIV infection will receive sustained antiretroviral therapy.
  • By 2020, 90% of all people receiving antiretroviral therapy will have viral suppression.

Library Info

Highcharts 90-90-90 Cascade Graph is Javascript library built on top of Highcharts to support the HIV/AIDS cascade implementation in treatment target(already set as mentioned above) to help end the AIDS epidemic. Development Team from UDSM develop and maintain this library to ensure visual and usability consistency of the in all system where will it be installed.

Installation & Usage

To install the Highchart 90-90-90 Cascade Graph run the following npm command @npm i @iapps/visualization

Install

npm i @iapps/visualization

After installation in your Angular Project, then import the following dependencies to prepare environmant for drawing the HIV Treatment and Care Cascade Graph.

Import

import { GenerateCascadeGraph } from '@iapps/visualization/cascade';

Parameters

* @param {boolean} useCustomChartTitle

* @param {boolean} useCustomXAxisTitle

* @param {string} config

* @param {string} context

* @param {string} ctype

* @param {object} chartObject

* @param {object} chartExtension

* @param {number} initialTarget

Use

Call the method GenerateCascadeGraph() as pass the following parameters

  • useCustomChartTitle: it is the boolean value parameter allow the visualization to use the custom chart title defined in the favorite extension in the dataStore

  • useCustomXAxisTitle: it is the boolean value parameter allow the visualization to use the custom categories title defined in the favorite extension in the dataStore `

  • config: it is the string value parameter allow the user to defined the configurations for the chart to be used Eg: 'nacp'

  • context: it is the string value parameter allow the user to defined the context that this chart will be used Eg: 'dhis2' - DHIS2

  • ctype: it is the string value parameter allow the user to defined the chart type to be used for the Cascade Graph Eg: 'column' and 'bar'

  • chartObject: it is the object value parameter allow the user to pass visualization chart object to be passed as used to draw the Cascade Graph.

  • chartExtension: it is the object value parameter allow the user to pass favorite extensions for each fovorite in the context of DHIS2.

  • initialTarget: it is the number value parameter allow the user to pass the initial value to c=start cascading to other data values Eg. In the case of NACP the initial value is 16000000 using DHIS2.

GenerateCascadeGraph( true, true, 'nacp', 'dhis2', 'bar', chartObjects, chartExtension, 1600000 )

The method above will return the standard Highcharts chart Object for the Cascade Graph for the NACP Treatment and Care Cascade Graph

Features

  • Support drawing the column 90-90-90 cascade graph for HIV context in DHIS2
  • Support drawing the bar 90-90-90 cascade graph for HIV context in DHIS2

Licence

GitHub

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0-alpha.13

5 years ago

1.0.0-alpha.12

5 years ago

1.0.0-alpha.11

5 years ago

1.0.0-alpha.10

5 years ago

1.0.0-alpha.9

5 years ago

1.0.0-alpha.8

5 years ago

1.0.0-alpha.7

5 years ago

1.0.0-alpha.6

5 years ago

1.0.0-alpha.5

5 years ago

1.0.0-alpha.2

5 years ago

1.0.0-alpha.4

5 years ago

1.0.0-alpha.3

5 years ago

1.0.0-alpha.1

5 years ago