Class: Ambling::Xy::Settings::Axes::Y

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

Overview

y axis

Constant Summary collapse

VALUES =
[: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)



653
654
655
# File 'lib/ambling/xy.rb', line 653

def alpha
  @alpha
end

#colorObject

#000000

(hex color code)



648
649
650
# File 'lib/ambling/xy.rb', line 648

def color
  @color
end

#logarithmicObject

false

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



668
669
670
# File 'lib/ambling/xy.rb', line 668

def logarithmic
  @logarithmic
end

#tick_lengthObject

7

(Number)



663
664
665
# File 'lib/ambling/xy.rb', line 663

def tick_length
  @tick_length
end

#widthObject

2

(Number) line width, 0 for hairline



658
659
660
# File 'lib/ambling/xy.rb', line 658

def width
  @width
end