class Plotly::Line
Constants
- ATTRS
Public Class Methods
new(opts)
click to toggle source
@option opts [Fixnum] width @option opts [String] color 'rgba(0, 0, 200, .5)'
# File lib/plotly/line.rb, line 12 def initialize(opts) return unless opts.is_a?(Hash) opts.each { |k, v| instance_variable_set("@#{k}", v) } end