Skip to main content
added 170 characters in body
Source Link
ndawson
  • 27.9k
  • 3
  • 62
  • 86

Update: QGIS 3.18 now has built in support for gradient color band legend items, so the previous workarounds are no longer necessary!

For earlier versions:

Another option is to add a rectangle shape to the composition, then style the rectangle using a gradient fill with the same color ramp as your raster. This can be done directly in QGIS, no image editing or html required.

enter image description here

Another option is to add a rectangle shape to the composition, then style the rectangle using a gradient fill with the same color ramp as your raster. This can be done directly in QGIS, no image editing or html required.

enter image description here

Update: QGIS 3.18 now has built in support for gradient color band legend items, so the previous workarounds are no longer necessary!

For earlier versions:

Another option is to add a rectangle shape to the composition, then style the rectangle using a gradient fill with the same color ramp as your raster. This can be done directly in QGIS, no image editing or html required.

enter image description here

added 90 characters in body
Source Link
underdark
  • 84.5k
  • 22
  • 233
  • 415

Another option is to add a rectangle shape to the composition, then style the rectangle using a gradient fill with the same color ramp as your raster. This can be done directly in QGIS, no image editing or html required.

enter image description here

Another option is to add a rectangle shape to the composition, then style the rectangle using a gradient fill with the same color ramp as your raster. This can be done directly in QGIS, no image editing or html required.

Another option is to add a rectangle shape to the composition, then style the rectangle using a gradient fill with the same color ramp as your raster. This can be done directly in QGIS, no image editing or html required.

enter image description here

Source Link
ndawson
  • 27.9k
  • 3
  • 62
  • 86

Another option is to add a rectangle shape to the composition, then style the rectangle using a gradient fill with the same color ramp as your raster. This can be done directly in QGIS, no image editing or html required.