Bug report #12952

addition of graduated steps through histogram feature doesn't work with size method

Added by Mathieu Pellerin - nIRV about 5 years ago. Updated about 5 years ago.

Status:Closed
Priority:High
Assignee:Nyall Dawson
Category:Symbology
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:21032

Description

The cool new histogram feature attached to the graduated symbology doesn't work with sized-based gratuation method.

Steps to reproduce:
  1. Load a point dataset with a numerical column to use for graduation
  2. Open the layer's symbology properties, and set the symbology to graduated
  3. Pick the numerical column, set the method to size, and set size from 1 to 35 millimeters (the largest value should be high to better highlight the issue)
  4. Make sure you have 5 classes and hit the classify button
  5. Apply the classification, and check the layer legend (see attached classification-5_classes.png)
  6. Go to the histogram tab, and add 5 steps by clicking on the histogram (add one step in between the already-present steps)
  7. Apply the classification, and check the layer legend (see attached histogram-5_classes_added-wrong_size.png)
  8. You'll notice the newly added steps through the histogram fail to size proportionally according to the settings

This is probably worth fixing before the release of 2.10, which will introduce the graduation histogram to the general users for the first time.

classification-5_classes.png (267 KB) Mathieu Pellerin - nIRV, 2015-06-12 10:53 PM

histogram-5_classes_added-wrong_size.png (272 KB) Mathieu Pellerin - nIRV, 2015-06-12 10:53 PM

Associated revisions

Revision 2458eaf8
Added by Nyall Dawson about 5 years ago

Fix symbol size when adding breaks to histogram for graduated size
renderer (fix #12952)

History

#1 Updated by Nyall Dawson about 5 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF