Class: Ambling::Column::Settings::Values::Category
- Inherits:
-
Object
- Object
- Ambling::Column::Settings::Values::Category
- Includes:
- Base
- Defined in:
- lib/ambling/column.rb
Overview
category axis
Constant Summary collapse
- VALUES =
[:enabled,:frequency,:start_from,:rotate,:color,:text_size,:inside]
Instance Attribute Summary collapse
-
#color ⇒ Object
- text_color
-
(hex color code).
-
#enabled ⇒ Object
- true
-
(true / false).
-
#frequency ⇒ Object
- 1
-
(Number) how often values should be placed.
-
#inside ⇒ Object
- false
-
(true / false) if set to true, axis values will be displayed inside plot area.
-
#rotate ⇒ Object
- 0
-
(0 - 90) angle of rotation.
-
#start_from ⇒ Object
- 1
-
(Number) you can set series from which category values will be displayed.
-
#text_size ⇒ Object
- text_size
-
(Number).
Method Summary
Methods included from Base
#build_xml, #initialize, #populate, #to_xml
Instance Attribute Details
#color ⇒ Object
- text_color
-
(hex color code)
572 573 574 |
# File 'lib/ambling/column.rb', line 572 def color @color end |
#enabled ⇒ Object
- true
-
(true / false)
552 553 554 |
# File 'lib/ambling/column.rb', line 552 def enabled @enabled end |
#frequency ⇒ Object
- 1
-
(Number) how often values should be placed
557 558 559 |
# File 'lib/ambling/column.rb', line 557 def frequency @frequency end |
#inside ⇒ Object
- false
-
(true / false) if set to true, axis values will be displayed inside plot area. This setting will not work for values rotated by 1-89 degrees (0 and 90 only)
582 583 584 |
# File 'lib/ambling/column.rb', line 582 def inside @inside end |
#rotate ⇒ Object
- 0
-
(0 - 90) angle of rotation. If you want to rotate by degree from 1 to 89, you must have font.swf file in fonts folder
567 568 569 |
# File 'lib/ambling/column.rb', line 567 def rotate @rotate end |
#start_from ⇒ Object
- 1
-
(Number) you can set series from which category values will be displayed
562 563 564 |
# File 'lib/ambling/column.rb', line 562 def start_from @start_from end |
#text_size ⇒ Object
- text_size
-
(Number)
577 578 579 |
# File 'lib/ambling/column.rb', line 577 def text_size @text_size end |