Class: Ambling::Line::Settings::Guides
- Inherits:
-
Object
- Object
- Ambling::Line::Settings::Guides
- Includes:
- Base
- Defined in:
- lib/ambling/line.rb
Overview
guides are straight lines drawn through all plot area at a give value. Can also be filled with color
Defined Under Namespace
Classes: Guide
Constant Summary collapse
- VALUES =
[:max_min,:guide]
Instance Attribute Summary collapse
-
#guide ⇒ Object
there can be any number of quides.
-
#max_min ⇒ Object
- false
-
(true / false) whether to include guides’ values when calculating min and max of a chart.
Method Summary
Methods included from Base
#build_xml, #initialize, #populate, #to_xml
Instance Attribute Details
#guide ⇒ Object
there can be any number of quides. guides can also be set in data xml file, using the same syntax as here
1729 1730 1731 |
# File 'lib/ambling/line.rb', line 1729 def guide @guide end |
#max_min ⇒ Object
- false
-
(true / false) whether to include guides’ values when calculating min and max of a chart
1724 1725 1726 |
# File 'lib/ambling/line.rb', line 1724 def max_min @max_min end |