Legend returns the list of lines to display as the legend.
()
| 206 | |
| 207 | // Legend returns the list of lines to display as the legend. |
| 208 | func (s *StackSet) Legend() []string { |
| 209 | return reportLabels(s.report, s.report.total, len(s.Sources), len(s.Sources), 0, 0, false) |
| 210 | } |
| 211 | |
| 212 | func addLineInfo(str string, line profile.Line) string { |
| 213 | if line.Column != 0 { |