Class: $.SensorHistoryView
- Inherits:
-
WatchUi.View
-
WatchUi.View
-
Overview
Display graph of current sensor data
Constant Summary
Constant Variables
| Type | Name | Value | Since | Description |
|---|---|---|---|---|
| Type | _sensorLabel | ["Heart Rate","Temperature","Pressure","Elevation","Oxygen Saturation","Stress","Body Battery"] | ||
| Type | _sensorMin | [50,0,50000,0,80,0,0,] | ||
| Type | _sensorRange | [140,45,60000,6000,20,100,100,] | ||
| Type | _sensorSamples | [100,100,100,100,100,20,20,] | ||
| Type | _sensorSymbols | [:getHeartRateHistory,:getTemperatureHistory,:getPressureHistory,:getElevationHistory,:getOxygenSaturationHistory,:getStressHistory,:getBodyBatteryHistory,] |
Instance Member Summary collapse
- _index as Lang.Number
Instance Method Summary collapse
-
getIterator() as SensorHistory.SensorHistoryIterator or Null
Get the iterator for the current sensor.
-
initialize()
Constructor.
-
nextSensor() as Void
Go to next sensor graph.
-
onUpdate(dc as Graphics.Dc) as Void
Update the view.
-
previousSensor() as Void
Go to previous sensor graph.
Instance Attribute Details
var _index as Lang.Number
Instance Method Details
getIterator() as SensorHistory.SensorHistoryIterator or Null
Get the iterator for the current sensor
initialize()
Constructor
nextSensor() as Void
Go to next sensor graph
onUpdate(dc as Graphics.Dc) as Void
Update the view
previousSensor() as Void
Go to previous sensor graph