Class: Ambling::Line::Settings::Strings
- Inherits:
-
Object
- Object
- Ambling::Line::Settings::Strings
- 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
-
#collecting_data ⇒ Object
- Collecting data
-
(text) this text is displayed while exporting chart to an image.
-
#DD ⇒ Object
- d.
-
unit of days.
-
#error_in_data_file ⇒ Object
- Error in data file
-
(text) this text is displayed if there is an error in data file or there is no data in file.
-
#export_as_image ⇒ Object
- Export as image
-
(text) text for right click menu.
-
#hh ⇒ Object
- :
-
unit of hours.
-
#mm ⇒ Object
- :
-
unit of minutes.
-
#no_data ⇒ Object
- No data for selected period
-
(text) if data for selected period is missing, this message will be displayed.
-
#ss ⇒ Object
-
unit of seconds.
-
#wrong_zoom_value ⇒ Object
the strings below are only important if you format your axis values as durations.
Method Summary
Methods included from Base
#build_xml, #initialize, #populate, #to_xml
Instance Attribute Details
#collecting_data ⇒ Object
- 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 |
#DD ⇒ Object
- d.
-
unit of days
1467 1468 1469 |
# File 'lib/ambling/line.rb', line 1467 def DD @DD end |
#error_in_data_file ⇒ Object
- 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_image ⇒ Object
- 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 |
#hh ⇒ Object
- :
-
unit of hours
1462 1463 1464 |
# File 'lib/ambling/line.rb', line 1462 def hh @hh end |
#mm ⇒ Object
- :
-
unit of minutes
1457 1458 1459 |
# File 'lib/ambling/line.rb', line 1457 def mm @mm end |
#no_data ⇒ Object
- 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 |
#ss ⇒ Object
-
unit of seconds
1452 1453 1454 |
# File 'lib/ambling/line.rb', line 1452 def ss @ss end |
#wrong_zoom_value ⇒ Object
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 |