From fcb26258a349e6020e1f068359cec03a90d958fe Mon Sep 17 00:00:00 2001 From: Behrooz Date: Thu, 31 Jul 2014 14:22:34 -0400 Subject: [PATCH] Default line graph to black #463 --- src/js/Rickshaw.Graph.Renderer.Line.js | 2 +- src/js/Rickshaw.Graph.Renderer.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/Rickshaw.Graph.Renderer.Line.js b/src/js/Rickshaw.Graph.Renderer.Line.js index f3cde8ce..73024472 100644 --- a/src/js/Rickshaw.Graph.Renderer.Line.js +++ b/src/js/Rickshaw.Graph.Renderer.Line.js @@ -9,7 +9,7 @@ Rickshaw.Graph.Renderer.Line = Rickshaw.Class.create( Rickshaw.Graph.Renderer, { return Rickshaw.extend( $super(), { unstack: true, fill: false, - stroke: true + stroke: false } ); }, diff --git a/src/js/Rickshaw.Graph.Renderer.js b/src/js/Rickshaw.Graph.Renderer.js index abc59f45..ab82234f 100644 --- a/src/js/Rickshaw.Graph.Renderer.js +++ b/src/js/Rickshaw.Graph.Renderer.js @@ -114,7 +114,7 @@ Rickshaw.Graph.Renderer = Rickshaw.Class.create( { _styleSeries: function(series) { var fill = this.fill ? series.color : 'none'; - var stroke = this.stroke ? series.color : 'none'; + var stroke = this.stroke ? series.color : '#000000'; series.path.setAttribute('fill', fill); series.path.setAttribute('stroke', stroke);