Class: Ambling::Line::Settings::Strings

Inherits:
Object
  • Object
show all
Includes:
Base
Defined in:
lib/ambling/line.rb

Constant Summary collapse

VALUES =
[:no_data,:export_as_image,:error_in_data_file,:collecting_data,:wrong_zoom_value,:ss,:mm,:hh,:DD]

Instance Attribute Summary collapse

Method Summary

Methods included from Base

#build_xml, #initialize, #populate, #to_xml

Instance Attribute Details

#collecting_dataObject

Collecting data

(text) this text is displayed while exporting chart to an image



1442
1443
1444
# File 'lib/ambling/line.rb', line 1442

def collecting_data
  @collecting_data
end

#DDObject

d.

unit of days



1467
1468
1469
# File 'lib/ambling/line.rb', line 1467

def DD
  @DD
end

#error_in_data_fileObject

Error in data file

(text) this text is displayed if there is an error in data file or there is no data in file. “There is no data” means that there should actually be at least one space in data file. If data file will be completly empty, it will display “error loading file” text



1437
1438
1439
# File 'lib/ambling/line.rb', line 1437

def error_in_data_file
  @error_in_data_file
end

#export_as_imageObject

Export as image

(text) text for right click menu



1432
1433
1434
# File 'lib/ambling/line.rb', line 1432

def export_as_image
  @export_as_image
end

#hhObject

:

unit of hours



1462
1463
1464
# File 'lib/ambling/line.rb', line 1462

def hh
  @hh
end

#mmObject

:

unit of minutes



1457
1458
1459
# File 'lib/ambling/line.rb', line 1457

def mm
  @mm
end

#no_dataObject

No data for selected period

(text) if data for selected period is missing, this message will be displayed



1427
1428
1429
# File 'lib/ambling/line.rb', line 1427

def no_data
  @no_data
end

#ssObject

unit of seconds



1452
1453
1454
# File 'lib/ambling/line.rb', line 1452

def ss
  @ss
end

#wrong_zoom_valueObject

the strings below are only important if you format your axis values as durations



1447
1448
1449
# File 'lib/ambling/line.rb', line 1447

def wrong_zoom_value
  @wrong_zoom_value
end