tiefpunkt / thingstore

MIT License
6 stars 3 forks source link

New graphs miss point outside the scale #19

Closed tiefpunkt closed 10 years ago

tiefpunkt commented 10 years ago

"Old" graphs had one point outside the displayed spectrum, in order to have a line coming into the graph. With the "new" AJAX graphs, that's missing.

ptu commented 10 years ago

i never actually saw this line in my setup. But it should be easy doable via javascript to add this datapoint everytime a new dataset is polled.

Edit: and i wanted to check, if the line from last actual value to imaginary value is drawable as e.g. dotted line

tiefpunkt commented 10 years ago

that would be awesome.

ptu commented 10 years ago

ah, misread. i implemented a point on the right, so a dotted horizontal line shows after the last actual pushed value even if the last value is not in selected timeframe.

will add line from the left as well

edit: should be realisable with small api change, adding a padding on the timeframe