Affects Version/s: None
Fix Version/s: None
Implement a visualization presentation for the Nexus Science Lab demo.
Since we're dealing with real-time data being received at a high rate, we need to make some decisions about how to present this.
A basic option is to take a similar approach to the sonifier of visualizing the "current" state in relation to the overall min and max scale of the sensor.
This can be adapted to a specific visual presentation for specific sensors, FE a pH scale visualization using the colours of the Universal Indicator (https://en.wikipedia.org/wiki/Universal_indicator).
A more elaborate option would be some form of real-time graphing that shows sensor changes over a period of time. This would require more component development to retain previous sensor data over a period of time and graph it.
Either way, we should model the overall presentation to be similar to the dashboard or sonifier presentation - sensor visualizations should appear and disappear as Nexus-attached sensors do.
Questions to consider:
1) How does a client-side component recognize what "kind" of sensor is attached, and whether it has a special visualization that should be used? (similar question applies to sonification sound design)
2) What can we extract and abstract at this time? The dashboard and sonification both have their own approach to disappearance / appearance of sensors. Can we derive a common approach to creating/destroying dynamicComponents or similar to do client-side presentation of Nexus components?