Class: Ambling::Column::Settings::Axes::Category

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

Overview

category axis

Constant Summary collapse

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

Instance Attribute Summary collapse

Method Summary

Methods included from Base

#build_xml, #initialize, #populate, #to_xml

Instance Attribute Details

#alphaObject

100

(0 - 100)



700
701
702
# File 'lib/ambling/column.rb', line 700

def alpha
  @alpha
end

#colorObject

#000000

(hex color code)



695
696
697
# File 'lib/ambling/column.rb', line 695

def color
  @color
end

#tick_lengthObject

7

(Number)



710
711
712
# File 'lib/ambling/column.rb', line 710

def tick_length
  @tick_length
end

#widthObject

2

(Number) line width, 0 for hairline



705
706
707
# File 'lib/ambling/column.rb', line 705

def width
  @width
end