3liz / lizmap-web-client

Transfer a QGIS project on a server, Lizmap is providing the web interface to browse it
https://www.lizmap.com
Mozilla Public License 2.0
257 stars 143 forks source link

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

Closed vlebert closed 2 months ago

vlebert commented 6 months ago

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 :

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

Operating system

MacOS

Browsers

Chrome

Browsers version

Chromium Engine Version 123.0.6312.59

Relevant log output

No response

rldhont commented 3 months ago

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

github-actions[bot] commented 2 months ago

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