lizmap-web-client icon indicating copy to clipboard operation
lizmap-web-client copied to clipboard

[Bug]: Histogram "sum" does not sum but counts instead

Open vlebert opened this issue 10 months ago • 1 comments

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.

digi-studio 2024-03-28 at 10 32 54

digi-studio 2024-03-28 at 10 36 28

Steps to reproduce the issue

  1. Load Spatialite data
  2. 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

vlebert avatar Mar 28 '24 09:03 vlebert

The Histogram is not the right graphic type. You have to use Bar diagram.

rldhont avatar Jun 20 '24 09:06 rldhont

This issue is missing some feedbacks. 👻 Please have a look to the discussion, thanks. 🦎

github-actions[bot] avatar Jul 22 '24 14:07 github-actions[bot]