lib/rubyvis/mark/dot.rb in rubyvis-0.1.7 vs lib/rubyvis/mark/dot.rb in rubyvis-0.2.0

- old
+ new

@@ -68,11 +68,11 @@ # The style of stroked lines; used in conjunction with +line_width+ to # stroke the dot's shape. The default value of this property is a categorical color. See Rubyvis.color() ## # :attr: fill_style - # The fill style; if non-null, the interior of the dot is filled with the - # specified color. The default value of this property is null, meaning dots are + # The fill style; if non-nil, the interior of the dot is filled with the + # specified color. The default value of this property is nil, meaning dots are # not filled by default. See Rubyvis.color() attr_accessor_dsl :shape, :shape_angle, :shape_radius, :shape_size, :line_width, [:stroke_style, lambda {|d| Rubyvis.color(d)}], [:fill_style, lambda {|d| Rubyvis.color(d)}] # Default properties for dots. By default, there is no fill and the stroke # style is a categorical color. The default shape is "circle" with radius 4.5.