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

these settings are important only if your axis type is date or duration

Included Modules


Classes and Modules

Class Ambling::Xy::Settings::DateFormats::AxisValues


VALUES = [:date_input,:duration_input,:axis_values,:balloon,:data_labels]


axis_values  [RW]  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
balloon  [RW] 
month DD, YYYY
balloon date format
data_labels  [RW] 
month DD, YYYY
data labels date format
date_input  [RW] 
YYYY-MM-DD hh:mm:ss
(YYYY, MM, DD, hh, mm, ss) date format of your data
duration_input  [RW] 
(DD, mm, hh, ss) duration unit of your data (this is important only if your axis type is "duration")