🛠️
Wazimap technical handbook
  • Introduction
  • System Architecture
    • Database Models
    • IndicatorData
    • Geography Hierarchies
    • Choropleth Maps
    • Determine which instance to use
  • Development
    • Code Deployment
    • Component Architecture
    • Development Process
    • Pull Request Template Explanation
    • Code Review Process
    • Pull Request Template (FE)
    • Webflow Integration
    • Merging webflow exports
    • Rules for Webflow exports
    • Webflow exports & changelog
      • June 2023
      • March 2023
      • February 2023
      • December 2022
      • November 2022
      • October 2022
      • May 2022
      • April 2022
      • March 2022
      • January 2022
      • December 2021
      • November 2021
      • October 2021
    • Translation
    • Map components
  • Testing
    • Testing guidelines
    • Critical Paths
    • GUI Tests
    • Heroku Review Apps
  • Design
    • Iconography
  • Change Proposals
  • NGPx - Template
  • NGP1 - Changing the data model (Implemented)
  • NGP2 - Presenting Geographical Hierarchies to users
  • NGP3 - Change Geography Hierarchies
  • NGP4 - Format configuration
  • NGP5 - Multiple count columns
  • NGP6 - Profile-specific open graph metadata
  • NGP7 - Wazimap profile domain management
  • NGP8 - Replacing Webflow as frontend framework
  • Tutorials
    • Creating a new profile
    • Loading new geographies
    • Loading Data
    • Creating a new admin user
    • Creating a non-admin user for a private profile
    • Changing the Geography level name
    • Deployment to Dokku
  • Configuration
  • Profile Configuration
  • Profile Indicator Configuration
  • Profile Collection Configuration
  • Geographies, hierarchies and versions
  • API
    • General API Information
    • Upload API
    • Task Status
    • Point data API
Powered by GitBook
On this page
  • NG Proposal 4 - Format configuration
  • Context
  • Proposed Solution 1
  • Proposed Solution 1
  • Proposed Solution 2
  • Benefits
  • Disadvantages
  • Other implications
  • Recommendation

Was this helpful?

Export as PDF

NGP4 - Format configuration

NG Proposal 4 - Format configuration

Proposed by: Adi Eyal

Date: 2020-09-14

Status: Work in progress

Context

Wazimap-NG Indicators contain different types of numbers that need to be formatted. Some Profile Administrators may want to round floating point numbers to 1 decimal place, while others prefer 2. Some numbers are percentages and should be displayed as such. Currently the Wazimap front-end does not receive sufficient information from the API to help determine the type of number received nor is it possible for administrators to configure the formatting of that number. This NGP discusses a few approaches to resolving this issue.

Proposed Solution 1

Each Indicator may require its own specialised formatting. To achieve

Proposed Solution 1

Proposed Solution 2

Benefits

Disadvantages

Other implications

Whereas indicators can now be mapped using a choropleth. Superindicators cannot since a choropleth can only display one Count variable at a time. This can be addressed by another select box allowing the user to choose the Count variable of interest or mapping multi-count variables could be prevented entirely.

Recommendation

PreviousNGP3 - Change Geography HierarchiesNextNGP5 - Multiple count columns

Last updated 4 years ago

Was this helpful?