diff --git a/lib/morris.line.coffee b/lib/morris.line.coffee index 7073d62..a5ddf9a 100644 --- a/lib/morris.line.coffee +++ b/lib/morris.line.coffee @@ -319,10 +319,10 @@ class Morris.Line extends Morris.Grid @options.lineColors.call(@, row, sidx, type) else if type is 'point' @options.pointFillColors[sidx % @options.pointFillColors.length] || @options.lineColors[sidx % @options.lineColors.length] - else if type is 'line' - @options.lineColors[sidx % @options.lineColors.length] - else + else if type is 'trendLine' @options.trendLineColors[sidx % @options.trendLineColors.length] + else + @options.lineColors[sidx % @options.lineColors.length] drawXAxisLabel: (xPos, yPos, text) -> @raphael.text(xPos, yPos, text)