8

I asked a question about formatting legend text a while back and I'm happy to see the issue has been solved in QGIS 2.6: How to remove trailing zeros from QGIS Graduated Style Class labels?

But I'm having trouble tracking down a syntax guide for the new legend format options.

  • Is there a guide available as I haven't managed to track one down (QGIS documentation search for 'legend format' returns no results)?
  • Is it possible to enter decimal values and for this to be presented as a percentage (ie multiply by 100 and stick % on the end)?
8

You can multiply the value by 100 in the column definition and then add the % signs in the legend format as shown here:

enter image description here

  • Also works in QGIS 3 – mapping dom Jun 19 '18 at 18:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.