Graphical
Graphical copied to clipboard
Streamed datapoints?
Currently I am using Clear-Host and draw the graph again with an additional data point when I want to display live data. It works quite well, but it flickers a bit. What would be really awesome is if I could pipe a stream of data points into Show-Graph and it would add data points to the graph as they come in.
One option to avoid the Clear-Host is to move the cursor position back to the top left of the graph. Something like:
$origpos = $host.UI.RawUI.CursorPosition
{draw-graph here}
$host.UI.RawUI.CursorPosition = $origpos
Hey, I'd love to have this feature as well to display some live graphs and am taking a shot at implementing it. https://github.com/michaelkargl/Graphical/issues/2