[reportlab-users] Markers in legends

Vladimir Prus reportlab-users@reportlab.com
Thu, 14 Oct 2004 15:23:26 +0400


Is it possible to use markers, returned by makeMarker, in legend? When I do:

      legend = LineLegend()
      leglabels.append((makeMarker('FilledDiamond'), llabels[0]))
      leglabels.append((makeMarker('Circle'), llabels[1]))
      legend.colorNamePairs = leglabels

The markers are not shown at all. Any ideas?

Thanks,
Volodya