CropWatchDevelopment / CropWatch

Our code for the UI to all of the sensors we offer.
https://app.cropwatch.io
2 stars 1 forks source link

Highcharts chart is having trouble displaying data from any type of sensor #21

Closed CropWatchDevelopment closed 6 months ago

CropWatchDevelopment commented 6 months ago

Currently, we are able to display data from many types of sensors, however, we need to be able to dynamically render highcharts line charts with data from any source. This said, we need code to retrieve data from the database's sensor type tables, format that data correctly for highcharts, and display it on a chart. Along side this, we need data from the cw_rules and cw_rules_criteria tables to draw a straight line on the chart to show the threshold value for when a rule will be triggered Finally, once the data is being displayed correctly, we will need to write unit tests to make sure there is no regression in the future.