HURUmap is an interactive web platform that allows citizens and journalists to explore, visualise, and download census data. This gives them the power to give context to stories that was otherwise hard to spot. Accessible at https://hurumap.org
Currently HURUmap (and wazimap) only supports a single qualifier. This PR adds ability to have more than one qualifier. Due to html limitation of single data-qualifier attribute, the value of this attribute would need to be delimiter-ed to support multiple values. \n is used as delimiter.
... data-qualifier="GF: Global Fund\nADF: African Development Fund" data-...
By adding multiple qualifiers support, one can use qualifiers to add legend to those charts, like histogram, that do not have a legend by default. This means shorter names can be used on the charts themselves leading to clean and easy to read charts.
Type of change
Please delete options that are not relevant.
[X] New feature (non-breaking change which adds functionality)
Screenshots
Before
After
Checklist:
[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
Description
Currently HURUmap (and wazimap) only supports a single qualifier. This PR adds ability to have more than one qualifier. Due to html limitation of single
data-qualifier
attribute, the value of this attribute would need to be delimiter-ed to support multiple values.\n
is used as delimiter.By adding multiple qualifiers support, one can use qualifiers to add legend to those charts, like histogram, that do not have a legend by default. This means shorter names can be used on the charts themselves leading to clean and easy to read charts.
Type of change
Please delete options that are not relevant.
Screenshots
Before
After
Checklist: