Asciigraph Versions Save

Go package to make lightweight ASCII line graph ╭┈╯ in command line apps with no other dependencies.

v0.7.1

1 month ago

Added

  • CLI: Option sl to specify legends for series
Ping Latency Comparison: Google (Blue) vs. DuckDuckGo (Red) with asciigraph
command for above realtime ping comparison plot
{unbuffer paste -d, <(ping -i 0.4 google.com | sed -u -n -E 's/.*time=(.*)ms.*/\1/p') <(ping -i 0.4 duckduckgo.com | sed -u -n -E 's/.*time=(.*)ms.*/\1/p') } | asciigraph -r -h 15 -w 60 -sn 2 -sc "blue,red" -c "Ping Latency Comparison" -sl "Google, DuckDuckGo"

v0.7.0

1 month ago

Added

  • CLI: Options to specify delimiter d and number of series sn

Changed

  • CLI: Option sc to specify series colors
Ping Latency Comparison: Google (Blue) vs. DuckDuckGo (Red) with asciigraph
command for above realtime ping comparison plot
{unbuffer paste -d, <(ping -i 0.4 google.com | sed -u -n -E 's/.*time=(.*)ms.*/\1/p') <(ping -i 0.4 duckduckgo.com | sed -u -n -E 's/.*time=(.*)ms.*/\1/p') } | asciigraph -r -h 15 -w 60 -sn 2 -d "," -sc "blue,red" -c "Ping Latency Comparison: Google (Blue) vs. DuckDuckGo (Red)"

v0.6.0

1 month ago

Added

  • Option to add legends for colored graphs
refe

v0.5.6

10 months ago

Added

  • Options to set upper & lower bound of graph

v0.5.5

2 years ago

Added

  • Ansi colors support for graphs

v0.5.4

2 years ago

Added

  • Option to plot multiple series together (#34)
  • Dockerfile file support (#33)

v0.5.3

2 years ago

Fixed

  • Handled NaN first value (#32)
  • Fixed incorrect y-axis start value tick (#31)

v0.5.2

3 years ago

Added

  • added support to set custom precision of data point labels along the y-axis
  • added go module support

Changed

  • updated README to markdown format

v0.5.1

3 years ago

Added

  • added support for NaN values in series
  • added option to control fps of plot rendering via cli for real-time data

Changed

  • removed use of append() method
  • make caption centred
  • removed trailing spaces from plot

v0.5.0

3 years ago

Added

  • added support for the realtime plot of data points (from stdin) for CLI.