ConnectedHumber / Air-Quality-Web

The web interface and JSON api for the ConnectedHumber Air Quality Monitoring Project.
https://sensors.connectedhumber.org/
Mozilla Public License 2.0
11 stars 4 forks source link

Repeated measurement types above chart #56

Open BNNorman opened 5 years ago

BNNorman commented 5 years ago

It appears that the web page sometimes displays the reading type twice above the chart. At first I thought it was only Pressure and looked at other sensors - then it happened with PM2.5. See screen shots below.

image

image

sbrl commented 5 years ago

Hrm, that's really strange. Perhaps it's not removing old ones from the graph correctly? Are you clicking any of the blue buttons at all @BNNorman?

BNNorman commented 5 years ago

You might like to think about that last question. Lol. How else would i get the chart up?

sbrl commented 5 years ago

Ah I mean the blue buttons below the graph. I know about the blue pins lol

BNNorman commented 5 years ago

The purple buttons? Yes.

sbrl commented 5 years ago

Ah, I see. Sounds like it's not clearing the chart correctly then.

The duplication there is because using the chart library I'm using here you can display more than one line at a time on the graph (great for comparing multiple sensors, if I can work out the UI for it!).