Sha256: 1d76410f016dd8544e050c9521bd3ed75435c8096504e204ba82de30da2ec097

Contents?: true

Size: 241 Bytes

Versions: 1

Compression:

Stored size: 241 Bytes

Contents

class Line < MyChart::Proto

  def concrete_type
    :line
  end

  def concrete_style
    {fill:false, lineTension: 0.1}
  end

  def concrete_options
    opt = {}
    opt.merge!({legend: {display: false}}) unless has_z?
    opt
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
my_chart-0.1.3 lib/my_chart/charts/line.rb