Feature request #2816
Allow class rearrangement in the Layer Properties->Style and in the Layers panel.
|Pull Request or Patch supplied:||No||Resolution:||fixed|
|Easy fix?:||No||Copied to github as #:||12876|
I am using the new symbology editor.
I have a line vector layer from GRASS which represents roads and I classify them using:
on a column containing the speed with a colorramp.
As you can see in the screenshot, QGIS orders the labels random (6 - 15 - 30 - 65 - 45). 65 should come after 45. So I want to change the order of the labels by deleting them and adding them in the right position afterwards.
There is a delete button that deletes any value of the legend, but there is no "Add Value" button, so I can not Add any value.
The same counts for polygon layers.
Note: The error in the classification seems specific to GRASS (can´t repeat it with shapefiles), but the basic point is that It would be nice if you could change the order of legend items. This would be needed when classifying on a string field: classify on a text string (like one, two, three, for ...), the legend will classify "for - one - three - two". How can I change the order these items appear in my legend ...
#2 Updated by Borys Jurgiel almost 9 years ago
The button has been added in the meantime. The legend order can be set in the print composer.
The last remaining enchancement would be to allow moving the items up and down also in the Layer Properties and display that order in the Layers panel. Well, the latter should be also triggered when the items are resorted by click on the header (see #3322). I believe it is quite low priority, anyway.
#7 Updated by Radim Blazek about 7 years ago
- Pull Request or Patch supplied set to No
- Resolution set to fixed
Implemented drag and drop for selected row(s) and sorting by value (various data types like numbers etc. should be sorted correctly) and by label.
Work done by Faunalia for Agence de l'eau Adour Garonne.
#9 Updated by Radim Blazek about 7 years ago
- Status changed from Closed to Open
- Assignee changed from Martin Dobias to Radim Blazek
- Priority changed from Low to Normal
- Resolution deleted (
Graduated is another renderer. The two renderers do not share this code, the same must be implemented for graduated.