-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
displaying choropleth from the rich data panel #315
Conversation
use either the local server or the actual one (once the changes are in place) to test this out. removed the hard-coded values. also removed and changed code that will need to be updated as well, as we're now using the new data format for the population of the data mapper as well there is some work left for making sure when a geography changes that the data is properly used removed the on-the-fly getting of the indicator data for now until the BE is ready. the data is available in the all_details request anyway for now but this will change in the future
… on_the_fly_choropleth_data # Conflicts: # server.js
slightly adjust the subindicator to not pass too many variables along that only change once and can be saved to the class
|
||
let result = bt.calculate({ data, subindicatorArr }) | ||
const CHILD_DATA = { | ||
EC: [{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar blocks of code found in 2 locations. Consider refactoring.
gender: "Female", | ||
language: "English" | ||
}], | ||
FS: [{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar blocks of code found in 2 locations. Consider refactoring.
Deploy preview for wazimap-staging ready! Built with commit c4a3c16 |
Description
Displaying choropleth of a subindicator on a chart on the rich data panel
Related Issue
#281
How to test it locally
Screenshots
Changelog
Added
Updated
Removed
Checklist
Pull Request
Code Quality
Testing