Class: Ambling::Line::Settings::Axes::YLeft

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

Overview

Y left 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)



829
830
831
# File 'lib/ambling/line.rb', line 829

def alpha
  @alpha
end

#colorObject

#000000

(hex color code)



824
825
826
# File 'lib/ambling/line.rb', line 824

def color
  @color
end

#logarithmicObject

false

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



844
845
846
# File 'lib/ambling/line.rb', line 844

def logarithmic
  @logarithmic
end

#tick_lengthObject

7

(Number)



839
840
841
# File 'lib/ambling/line.rb', line 839

def tick_length
  @tick_length
end

#typeObject

line

(line, stacked, 100% stacked)



819
820
821
# File 'lib/ambling/line.rb', line 819

def type
  @type
end

#widthObject

2

(Number) line width, 0 for hairline



834
835
836
# File 'lib/ambling/line.rb', line 834

def width
  @width
end