lizmap-web-client
lizmap-web-client copied to clipboard
[Bug]: Histogram "sum" does not sum but counts instead
What is the bug? (in English)
When I am showing an histogram with a sum concatenation, it actually displays the count of feature and not the sum of the targeted property.
Sum concatenations do work on scatter plots.
My data is a Spatialite Table
Here is a demonstration of that.
Steps to reproduce the issue
- Load Spatialite data
- Configure a Sum Histogram datavis
Versions, safeguards, check summary etc
Versions :
- Lizmap Web Client : 3.7.6
- Lizmap plugin : 4.3.4
- QGIS Desktop : 3.28.9
- Lizmap.com : Yes
- QGIS Server : 3.28.15
- Py-QGIS-Server : 1.8.8
- QGIS Server plugin atlasprint : 3.3.2
- QGIS Server plugin cadastre : 1.19.1
- QGIS Server plugin lizmap_server : 2.8.6
- QGIS Server plugin wfsOutputExtension : 1.8.0
List of safeguards :
- Mode : safe
- Allow parent folder : no
- Prevent other drive : yes
- Prevent PG service : yes
- Prevent PG Auth DB : yes
- Force PG user&pass : yes
- Prevent ECW : yes
Check Lizmap plugin
- [X] I have done the step just before in the Lizmap QGIS desktop plugin before opening this ticket. Otherwise, my ticket is not considered valid and might get closed.
Operating system
MacOS
Browsers
Chrome
Browsers version
Chromium Engine Version 123.0.6312.59
Relevant log output
No response
The Histogram is not the right graphic type. You have to use Bar diagram.
This issue is missing some feedbacks. 👻 Please have a look to the discussion, thanks. 🦎