qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.36k stars 2.98k forks source link

Histogram bar orientation is always Up in a first diagram setup #58501

Open gacarrillor opened 3 weeks ago

gacarrillor commented 3 weeks ago

What is the bug or the crash?

Histograms' bar orientation is always Up when first setting up the diagram (i.e., starting from No Diagram). Changing the orientation and clicking on Apply does not update the histogram orientation on the map canvas.

Only when reopening the dialog, one can change the orientation and click on Apply to see changes.

Steps to reproduce the issue

  1. Load a point layer.
  2. Open the Layer Diagram Properties dialog.
  3. Set up a histogram diagram.
  4. In the Options tab, select an option other than Up.
  5. Click on Apply.
  6. Histogram bars are not oriented according to 4.

Versions

QGIS 3.38 and QGIS master.

Supported QGIS version

New profile

Additional context

No response

gacarrillor commented 3 weeks ago

This will be solved in an incoming PR, just created this issue for reference.