Recharts implementation on Feed. Total hours: 17
Closed this issue · 4 comments
AlexeyAnshakov commented
- Implement http://recharts.org. Display temperature via SimpleLineChart in the Feed above current text of sensor's data.
- Chart should display one mesurement at the time for 24h period. Take max and min (Y axis) from max and min sensor's mesurements. X axis = 00 to 23h, step 1h.
- Add dropbox to choose mesurement. Don't include boolean for now, only with numbers.
- Add links, only the first should be active for now: "24h · 1w · 1m · 1y · All".
[Estimation: 10h]
AlexeyAnshakov commented
- add dashed background lines for x and y axises.
- display Hours scale on X
- update the chart after selecting an option in the dropdown.
Don't show "Select Feed", show the first mesurement by default. - State - boolean
[Estimation: 4h] + 3
AlexeyAnshakov commented
If there no data
"value": ""
Display with gaps http://recharts.org/en-US/examples/LineChartConnectNulls
AlexeyAnshakov commented
Add
The device was disabled
On the feed chart for null values.
umair-khan-PDW commented
Recharts don't support to add tooltip for null values.