Class: Ambling::Xy::Settings::Axes::X

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

Overview

x 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)



621
622
623
# File 'lib/ambling/xy.rb', line 621

def alpha
  @alpha
end

#colorObject

#000000

(hex color code)



616
617
618
# File 'lib/ambling/xy.rb', line 616

def color
  @color
end

#logarithmicObject

false

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



636
637
638
# File 'lib/ambling/xy.rb', line 636

def logarithmic
  @logarithmic
end

#tick_lengthObject

7

(Number)



631
632
633
# File 'lib/ambling/xy.rb', line 631

def tick_length
  @tick_length
end

#widthObject

2

(Number) line width, 0 for hairline



626
627
628
# File 'lib/ambling/xy.rb', line 626

def width
  @width
end