Skip to content

Commit 9aaded8

Browse files
committed
Merge pull request incanter#253 from sbtourist/master
Fixed plots legend on group-by when repeated rows for the legend column are present.
2 parents 245936f + 1fead67 commit 9aaded8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/incanter-charts/src/incanter/charts.clj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1137,7 +1137,7 @@
11371137
(nth y-groups i)
11381138
:series-label (cond
11391139
_group-by
1140-
(nth _group-by i)
1140+
(nth (reduce #(if (< (.indexOf %1 %2) 0) (conj %1 %2) %1) [] _group-by) i)
11411141
series-lab
11421142
series-lab
11431143
:else

0 commit comments

Comments
 (0)