New Temps which are added during runtime only show up during a single update and disappear again. The User needs to refresh the page (F5) to see the new graphs permanently. But a restart of Octoprint is not required anymore.
The default value of 0 for y_data in fromHistoryData renders the graph at 0 until data is available. It would be more desirable to have no data-point (x and y) at all in these cases. But this version works for now.
Fixed issues I experienced in OctoPrint from Version 1.4.2 to 1.5.2, see Issuess: https://github.com/jneilliii/OctoPrint-PlotlyTempGraph/issues/1, and https://github.com/jneilliii/OctoPrint-PlotlyTempGraph/issues/2, https://github.com/jneilliii/OctoPrint-PlotlyTempGraph/issues/3
Fixes:
All these basically resolve to:
Changes:
self.debugLogs = true;
, error logs are always enabledKnown Issues:
y_data
infromHistoryData
renders the graph at 0 until data is available. It would be more desirable to have no data-point (x and y) at all in these cases. But this version works for now.