NewLegend returns a legend with the default parameter settings.
()
| 78 | |
| 79 | // NewLegend returns a legend with the default parameter settings. |
| 80 | func NewLegend() Legend { |
| 81 | return newLegend(DefaultTextHandler) |
| 82 | } |
| 83 | |
| 84 | func newLegend(hdlr text.Handler) Legend { |
| 85 | return Legend{ |