Opened 14 years ago

Last modified 13 years ago

#2816 new enhancement

Allow class rearrangement in the Layer Properties->Style and in the Layers panel.

Reported by: tdeleus Owned by: wonder
Priority: minor: annoyance Milestone: Version 1.7.0
Component: Symbology Version: 1.4.0
Keywords: Add Value Cc:
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description

I am using the new symbology editor. I have a line vector layer from GRASS which represents roads and I classify them using: Categorized 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 ... Thanks

Attachments (1)

Screenshot2010-05-31.png (65.3 KB ) - added by tdeleus 14 years ago.

Download all attachments as: .zip

Change History (7)

by tdeleus, 14 years ago

Attachment: Screenshot2010-05-31.png added

comment:1 by lutra, 14 years ago

Owner: changed from nobody to wonder

comment:2 by jef, 14 years ago

Summary: "Add Value" button for Layer Properties - New Symbolgy"Add Value" button for Layer Properties - New Symbology

comment:3 by pcav, 14 years ago

Milestone: Version 1.5.0Version 1.6.0

comment:4 by volter, 13 years ago

Platform: OS XAll
Platform Version: 10.6.3

#2898 is somewhat related

comment:5 by borysiasty, 13 years ago

Priority: major: does not work as expectedminor: annoyance
Summary: "Add Value" button for Layer Properties - New SymbologyAllow classification items rearrangement up and down in the graduated and categorized renderers

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.

comment:6 by borysiasty, 13 years ago

Summary: Allow classification items rearrangement up and down in the graduated and categorized renderersAllow class rearrangement in the Layer Properties->Style and in the Layers panel.
Note: See TracTickets for help on using tickets.