Feature request #13611

Provide function to "update Legend" after manually editing style class values

Added by Johannes Kroeger almost 5 years ago. Updated over 3 years ago.

Pull Request or Patch supplied:No Resolution:
Easy fix?:No Copied to github as #:21649


QGIS automatically provides legend texts for graduated style classes if for example the Equal Interval mode is chosen. If a user manually edits the values of class boundaries in the style, the legend value texts become false.

Please provide a way to "update the legend texts according to the class boundaries".

See the attached screenshot as illustration of the problem.

value_vs_legend_text.png (3.83 KB) Johannes Kroeger, 2015-10-15 01:43 PM


#1 Updated by Johannes Kroeger almost 5 years ago

Hmm, this might actually be a bug. If I chose Natural Breaks (Jenks) or Pretty Breaks the Legend texts are updated automatically. For the other modes, this does not happen.

I did notice that one can simply use the Legend Format field, sorry I did not see that earlier. However, just putting the cursor in (when it reads the default "%1 - %2") does not update. One has to actually edit anything in it.

Not sure if I should close this or not and if above are bugs or not. Sorry for the mess. :]

#2 Updated by Giovanni Manghi over 3 years ago

  • Easy fix? set to No

Also available in: Atom PDF