lib/rubyvis/mark/rule.rb in rubyvis-0.3.6 vs lib/rubyvis/mark/rule.rb in rubyvis-0.4.0

- old
+ new

@@ -8,9 +8,10 @@ @properties=Mark.properties.dup attr_accessor_dsl :width, :height, :line_width, [:stroke_style, lambda {|d| Rubyvis.color(d)}] def self.defaults Rule.new.mark_extend(Mark.defaults).line_width(1).stroke_style('black').antialias(false) end + def type 'rule' end def anchor(name)