Class: Ambling::Column::Settings::Axes::Category
- Inherits:
-
Object
- Object
- Ambling::Column::Settings::Axes::Category
- Includes:
- Base
- Defined in:
- lib/ambling/column.rb
Overview
category axis
Constant Summary collapse
- VALUES =
[:color,:alpha,:width,:tick_length]
Instance Attribute Summary collapse
-
#alpha ⇒ Object
- 100
-
(0 - 100).
-
#color ⇒ Object
- #000000
-
(hex color code).
-
#tick_length ⇒ Object
- 7
-
(Number).
-
#width ⇒ Object
- 2
-
(Number) line width, 0 for hairline.
Method Summary
Methods included from Base
#build_xml, #initialize, #populate, #to_xml
Instance Attribute Details
#alpha ⇒ Object
- 100
-
(0 - 100)
700 701 702 |
# File 'lib/ambling/column.rb', line 700 def alpha @alpha end |
#color ⇒ Object
- #000000
-
(hex color code)
695 696 697 |
# File 'lib/ambling/column.rb', line 695 def color @color end |
#tick_length ⇒ Object
- 7
-
(Number)
710 711 712 |
# File 'lib/ambling/column.rb', line 710 def tick_length @tick_length end |
#width ⇒ Object
- 2
-
(Number) line width, 0 for hairline
705 706 707 |
# File 'lib/ambling/column.rb', line 705 def width @width end |