lib/rubyvis/scene/svg_line.rb in rubyvis-0.6.1 vs lib/rubyvis/scene/svg_line.rb in rubyvis-0.7.0
- old
+ new
@@ -41,10 +41,9 @@
"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