Class Ambling::Xy::Settings::DateFormats::AxisValues
In: lib/ambling/xy.rb
Parent: Object

when axis type is "date", you must specify date formats for different intervals. "first" describes date format of the first grid line, "regular" - of all other grid lines

Included Modules

Base

Constants

VALUES = [:ss,:mm,:hh,:DD,:MM,:YYYY]

Attributes

DD  [RW] 
first="month DD, YYYY" regular="month DD"
date formats when interval is day
MM  [RW] 
first="month, YYYY" regular="month"
date formats when interval is month
YYYY  [RW] 
first="YYYY" regular="YYYY"
date formats when interval is year
hh  [RW] 
first="month DD, YYYY" regular="hh:mm"
date formats when interval is hour
mm  [RW] 
first="month DD, YYYY" regular="hh:mm"
date formats when interval is minute
ss  [RW] 
first="month DD, YYYY" regular="hh:mm:ss"
date formats when interval is second

[Validate]