Sha256: 71956d6537159ed2341c258c142f6cae6bc486c15f3f7f2f5f06238d8aaff32c
Contents?: true
Size: 460 Bytes
Versions: 1
Compression:
Stored size: 460 Bytes
Contents
module Rubyvis def self.Line Rubyvis::Line end class Line < Mark @properties=Mark.properties attr_accessor_dsl :line_width, :line_join, :stroke_style, :fill_style, :segmented, :interporale, :eccentricity, :tension def defaults sd=super return sd.merge({:line_join=>'miter', :line_width=>1.5, :stroke_style=>RubyVis::Color.category10().by(pv.parent), :interpolate=>'linear', :eccentricity=>0, :tension=>7}) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rubyvis-0.1.0 | lib/rubyvis/mark/line.rb |