-
-
Notifications
You must be signed in to change notification settings - Fork 544
Description
Describe the current behavior
I have this barplot which shows the decreasing cost of providers that I have worked with, with their cost broken down by year:
When I add provider D using the filter, the following happens: all the costs observed in year 2026 disappear from all providers other than provider D, meaning that some providers (e.g. W, X) look empty, even though they still occupy their spot in the sorted list, which means that the computation of the total cost isn't consistent with the length of the bar:
When I add provider B using the filter, provider T loses its 2024 costs (thus looks empty), and provider B loses its 2024 costs also. Both still occupy their spot in the sorted list, which means that the computation of the total cost isn't consistent with the length of the bar:
Steps to reproduce
- Open the minimal reproducible example https://grist.numerique.gouv.fr/o/docs/9Ph74B2Xed1Z/Bug-depenses-par-prestataire
- In the barplot on page "Providers", check that providers F to X are selected in the filter
- Reproduce the faulty behavior by selecting either D or B in the "Provider" filter
- Check in the summary table in the source data that the values are computed correctly: it's the graph that displays them incorrectly.
Describe the expected behavior
Adding providers B and D to the graph should not make some bars disappear.
Where have you encountered this bug?
- On docs.getgrist.com
- On a self-hosted instance
Instance information (when self-hosting only)
- Grist instance:
- Version: 1.7.10
- URL (if it's OK for you to share it): https://grist.numerique.gouv.fr/