Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"follow" option: progressive generation of graph as data is added to CSV file #61

Open
hattesen opened this issue Mar 28, 2023 · 0 comments

Comments

@hattesen
Copy link

hattesen commented Mar 28, 2023

It would be nice to have a --follow option, where graph-cli does not stop reading from the file (or stdin) when an EOF is reached, but instead waits (indefinitely) for more data to be appended to the CSV file and renders the graph as data appears.
Using the --follow option requires the user to manually terminate the graph-cli command.

It would likely require x-range to be explicitly defined and/or dynamically compress the x-axis as more data appears (or redrawing), which may not be supported by the graphing library.

A similar -f, --follow option is available in the Linux/Unix tail command

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant