lib/rubyvis/scene/svg_line.rb in rubyvis-0.5.2 vs lib/rubyvis/scene/svg_line.rb in rubyvis-0.6.0

- old
+ new

@@ -41,9 +41,10 @@ "d"=> d, "fill"=> fill.color, "fill-opacity"=> (fill.opacity==0.0) ? nil : fill.opacity, "stroke"=> stroke.color, "stroke-opacity"=> (stroke.opacity==0.0) ? nil : stroke.opacity, + "stroke-dasharray"=> s.stroke_dasharray, # strokeDasharray from Jamie Love (protovis mod) "stroke-width"=> (stroke.opacity>0) ? s.line_width / self.scale : nil, "stroke-linejoin"=> s.line_join }); return SvgScene.append(e, scenes, 0); end