Class: Ambling::Column::Settings::Guides

Inherits:
Object
  • Object
show all
Includes:
Base
Defined in:
lib/ambling/column.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

Method Summary

Methods included from Base

#build_xml, #initialize, #populate, #to_xml

Instance Attribute Details

#guideObject

there can be any number of quides. guides can also be set in data xml file, using the same syntax as here



1239
1240
1241
# File 'lib/ambling/column.rb', line 1239

def guide
  @guide
end

#max_minObject

false

(true / false) whether to include guides’ values when calculating min and max of a chart



1234
1235
1236
# File 'lib/ambling/column.rb', line 1234

def max_min
  @max_min
end