[GRASS-dev] [GRASS GIS] #3015: Add legend title

GRASS GIS trac at osgeo.org
Sat Jun 4 12:39:00 PDT 2016


#3015: Add legend title
--------------------------+---------------------------------------------
  Reporter:  annakrat     |      Owner:  grass-dev@…
      Type:  enhancement  |     Status:  new
  Priority:  normal       |  Milestone:  7.3.0
 Component:  Display      |    Version:  unspecified
Resolution:               |   Keywords:  d.legend, gsoc2016, cartography
       CPU:  Unspecified  |   Platform:  All
--------------------------+---------------------------------------------

Comment (by annakrat):

 Replying to [comment:4 lazaa]:
 > Replying to [comment:3 annakrat]:
 > > Replying to [comment:2 lazaa]:
 > > > I want to add an option {{{title}}} that displays custom label at
 the top of the legend. Should I keep displaying the text with units when
 raster has set units using r.support? I don't like it, it's not actually a
 title. If necessary I can add another option for displaying units but I
 would prefer at different position than at the top of the legend.
 > >
 > > I would keep the current behavior there (perhaps try to fix the
 position) and if user specifies title, the title would be shown, not the
 units.
 > > Any other opinions are welcome of course.
 >
 > Ok, I will keep it. In both cases of title or units the text should be
 aligned to the left border of legend, right?

 I would think so.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3015#comment:5>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list