Class: Ambling::Column::Settings::Axes::Value

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

Overview

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



727
728
729
# File 'lib/ambling/column.rb', line 727

def alpha
  @alpha
end

#colorObject

#000000

(hex color code)



722
723
724
# File 'lib/ambling/column.rb', line 722

def color
  @color
end

#logarithmicObject

false

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



742
743
744
# File 'lib/ambling/column.rb', line 742

def logarithmic
  @logarithmic
end

#tick_lengthObject

7

(Number)



737
738
739
# File 'lib/ambling/column.rb', line 737

def tick_length
  @tick_length
end

#widthObject

2

(Number) line width, 0 for hairline



732
733
734
# File 'lib/ambling/column.rb', line 732

def width
  @width
end