datadash icon indicating copy to clipboard operation
datadash copied to clipboard

Redraw the whole graph?

Open for-coursera opened this issue 1 year ago • 4 comments

(Sorry in advance for being a bit slow and probably noisy :)

As I understand, when datadash gets the new data from STDIN, it draws a new graph and adds it alongside the previous one, thus creating something like a "tape" (similar to an electrocardiogram, for instance).

But what if we'd have an option to redraw the graph completely, so that only the new data would be added (and the missing data – if any – would be removed)?

So, that instead

  • first this: https://i.imgur.com/Vn6M0F8.png and then this: https://i.imgur.com/wuB1Qpa.png

...we'd get

  • first this: https://i.imgur.com/Vn6M0F8.png and then this: https://i.imgur.com/ZwDilaq.png

Or, may be an option limiting the number of these graphs on the screen? Like, if set to 1, then only the latest graph will be drawn (and if set to 2, then no more than 2 graphs will be displayed, like in the example above).

Again, I do apologise if this is already possible (or if this is out of the scope of this project), just couldn't figure out how to achieve it, and thought that may be it could be a useful addition.

Thank you :)

for-coursera avatar Mar 13 '23 07:03 for-coursera