Set value to zero on no update
jeremyh last edited by
When a point does not update, Mango - as you would expect - just logs the last recorded value. And as you would again expect, both DGLux's charts and Mango's built in chart feature will 'draw a line' between two values.
But, in cases where we have an extended gap in the data, this can produce pretty ugly results, as per the attached (note I was using the 'spline' chart method):
I'm struggling to think of a way to prevent this, either in DGLux or within Mango. Any ideas?
phildunlap last edited by
One thing you could theoretically do is put in an event for no update X minutes, and give that event a handler that sets the point to 0. But, this would mix the zeros in with your data and possibly cause other problems if someone mistakes it for real. In DGLux you can write a script that combs the source value table and transposes it into another table, interpolating however you like. For the current built-in charts, I don't believe there is a solution like the second.