class Plotly::Axis
Constants
- ATTRS
Public Class Methods
new(opts)
click to toggle source
@option opts [String] title @option opts [Array] range @option opts [Boolean] zeroline
# File lib/plotly/axis.rb, line 13 def initialize(opts) return unless opts.is_a?(Hash) opts.each { |k, v| instance_variable_set("@#{k}", v) } end