This is a nice improvement. I think we would all like to get to something with more choices as in the selection box on grafana:

But perfect is the enemy of good, and frankly, I don’t have much experience with accepting PRs and appreciate going slow. That said, and not being very good at JQuery, it looks like @frogmore has done a good job coding this in. I’m inclined to accept the PR as is and expect more improvements to follow. But first, I’d like to get some feedback from other users. So here are the two files that were modified.

graph.htm (16.1 KB)
graph.js (36.2 KB)

To use them, just download and then upload to your IoTaWatt. You might want to download the existing versions first so you can revert easily if you have a problem.

I know there will be a lot of suggestions of how to improve it further, but lets segregate that out and if anyone wants to start a thread about further improvements to Graph, and I’ve got some suggestions too, please start a new thread. This will be about testing and evaluating this single change.

image