I have a map with graduated symbology, with 328 unique values. I would like to add a legend to my map (as in the picture), illustrating that light blue indicates low values and dark blue high values.

I have done this in ArcGIS before. Is there a way to do this in QGIS as well?


  • 1
    Welcome to gis.stackexchange! Please note that a good question on this site is expected to show some degree of research on your part, i.e. what you have tried and - if applicable - code so far. For more info, you can check our faq.
    – underdark
    Mar 26 '17 at 13:09

Not sure there's a simple process to achieve this in QGIS, atleast not that I know of.

  • To get a similar legend icon, you can follow this link: Continuous color band for a raster legend in QGIS composer legend.

  • To get the legend to say High or Low, you can achieve this by deleting everything inside the Legend Format textbox and then manually type "High" and "Low" in the symbol containing the maximum and minimum values respectively:

Graduated Legend Format

Composer legend


Another workaround is to insert a 'Rectangle' shape with a Gradient Fill using the same color-ramp as your data. Overlay this rectangle over your legend.

Accuracy of this method may not be perfect, particularly if you use transform curves when assigning the color ramp to your data.

Screencap of QGIS Print Composer showing a gradient-filled rectangle overlaid over legend

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.