Graph questions

Started by LukaQ, February 19, 2017, 05:50:15 AM

LukaQ

Hello,

I was wondering, why graph is drawn for two data points that have different timestamps and Y value, drawn as 3 points?
y1, time0
y1, time1
y2, time1...

this makes step in every Y change, which you can't smooth out with CurvedLines (is there anything else?).
Why is graph not simply drawn
y1, time1
y2, time2

like it is in database [time,value], I think it should be point to point, not is steps

Felix

First, you cannot log 2 points with the same timestamp since the timestamp is the log index.
Second, the graph is configured as steps by default, you can override that in your graph options. See flot documentation for how to achieve that.