cli_graph
By Jamie Apps
A crate to allow generation of simple CLI graphs
Current Features:
- Bar and Scatter Graph modes
- Coloured customisable graph ticks
- Customisable y-axis scales
- Multi-Line graphs for large x-axis ranges
- Variable height and width graphs
Example:
let colours : = vec!;
let names : = vec!.iter.map.collect;
let values : = vec!;
let gd = from;
let gc = new.max_height;
graph.unwrap;
gives:
| #
| #
| # #
| # #
| | | | |
(Colours not reflected in markdown example)
Note : This crate is still quite young and it's API will likely change. If this is an issue, please constrain the version in the Cargo.toml.