Skip to content
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

fix: allow blank cumulative values (DHIS2-18976) #1760

Merged
merged 11 commits into from
Feb 25, 2025

Conversation

janhenrikoverland
Copy link
Collaborator

@janhenrikoverland janhenrikoverland commented Feb 13, 2025

Implements DHIS2-18976

Align with how it works in pivot tables: when accumulating, show blank values as blank, instead of copying the accumulated number.

Cumulative values

Before (219.01 and 287.02 are copied)
Screenshot from 2025-02-14 13-39-17

After (blank values are blank, accumulation continues after)
Screenshot from 2025-02-14 13-39-27

Also fixed for two-category charts

Before
Screenshot from 2025-02-14 13-39-57

After
Screenshot from 2025-02-14 13-40-02

Hide empty categories now works for cumulative values because they show as blank

Before
Screenshot from 2025-02-14 13-40-44

After
Screenshot from 2025-02-14 13-41-05

Hide empty categories in two-category charts

Has never worked. Should be addressed in a separate PR.

@janhenrikoverland janhenrikoverland merged commit 1fec4a3 into master Feb 25, 2025
3 checks passed
@janhenrikoverland janhenrikoverland deleted the fix/chart-cumulative-blank branch February 25, 2025 15:02
dhis2-bot added a commit that referenced this pull request Feb 25, 2025
## [26.12.2](v26.12.1...v26.12.2) (2025-02-25)

### Bug Fixes

* allow blank cumulative values (DHIS2-18976) ([#1760](#1760)) ([1fec4a3](1fec4a3))
@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 26.12.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants