Class: Ambling::Line::Settings::Axes::YRight

Inherits:
Object
  • Object
show all
Includes:
Base
Defined in:
lib/ambling/line.rb

Overview

Y right axis, visible only if at least one graph is assigned to this axis

Constant Summary collapse

VALUES =
[:type,:color,:alpha,:width,:tick_length,:logarithmic]

Instance Attribute Summary collapse

Method Summary

Methods included from Base

#build_xml, #initialize, #populate, #to_xml

Instance Attribute Details

#alphaObject

100

(0 - 100)



866
867
868
# File 'lib/ambling/line.rb', line 866

def alpha
  @alpha
end

#colorObject

#000000

(hex color code)



861
862
863
# File 'lib/ambling/line.rb', line 861

def color
  @color
end

#logarithmicObject

false

(true / false) If set to true, this axis will use logarithmic scale instead of linear



881
882
883
# File 'lib/ambling/line.rb', line 881

def logarithmic
  @logarithmic
end

#tick_lengthObject

7

(Number)



876
877
878
# File 'lib/ambling/line.rb', line 876

def tick_length
  @tick_length
end

#typeObject

line

(line, stacked, 100% stacked)



856
857
858
# File 'lib/ambling/line.rb', line 856

def type
  @type
end

#widthObject

2

(Number) line width, 0 for hairline



871
872
873
# File 'lib/ambling/line.rb', line 871

def width
  @width
end