diff options
author | Chris Schlaeger <chris@linux.com> | 2020-01-16 21:10:29 +0100 |
---|---|---|
committer | Chris Schlaeger <chris@linux.com> | 2020-01-16 21:10:29 +0100 |
commit | 0bead6fa4bba929315b6d405e19574013785f23e (patch) | |
tree | ae41b3b3f12dcb4d8b8ed957d6c96e1ef7c89737 | |
parent | c1c8f823a8cc5f001ba80a18c7d0677e55c27576 (diff) | |
download | postrunner-0bead6fa4bba929315b6d405e19574013785f23e.zip |
Add respiration rate chart
-rw-r--r-- | lib/postrunner/ChartView.rb | 8 | ||||
-rw-r--r-- | postrunner.gemspec | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/lib/postrunner/ChartView.rb b/lib/postrunner/ChartView.rb index e73d978..04f0340 100644 --- a/lib/postrunner/ChartView.rb +++ b/lib/postrunner/ChartView.rb @@ -74,6 +74,14 @@ module PostRunner :show => false }, { + :id => 'respiration_rate', + :label => 'Respiration Rate', + :unit => 'brpm', + :graph => :line_graph, + :colors => '#9cd6ef', + :show => true + }, + { :id => 'performance_condition', :label => 'Performance Condition', :graph => :line_graph, diff --git a/postrunner.gemspec b/postrunner.gemspec index d60c074..d8cf809 100644 --- a/postrunner.gemspec +++ b/postrunner.gemspec @@ -28,7 +28,7 @@ operating systems as well.} spec.require_paths = ["lib"] spec.required_ruby_version = '>=2.4' - spec.add_dependency 'fit4ruby', '~> 3.3.0' + spec.add_dependency 'fit4ruby', '~> 3.5.0' spec.add_dependency 'perobs', '~> 4.1.0' spec.add_dependency 'nokogiri', '~> 1.6' |