chunqiuyiyu / ervy

Bring charts to terminal.
https://www.chunqiuyiyu.com/ervy/
MIT License
1.58k stars 45 forks source link

Scatter plot issue #12

Closed jcubic closed 4 years ago

jcubic commented 4 years ago

Last plot, I have some issue:

ervy3

command scatter Foo:0,0;1,1;2,2;3,2;4,2;5,6;6,6:red

that generates this data:

[{"key":"Foo","value":[0,0],"style":"\u001b[31m@\u001b[0m"},{"key":"Foo","value":[1,1],"style":"\u001b[31m@\u001b[0m"},{"key":"Foo","value":[2,2],"style":"\u001b[31m@\u001b[0m"},{"key":"Foo","value":[3,2],"style":"\u001b[31m@\u001b[0m"},{"key":"Foo","value":[4,2],"style":"\u001b[31m@\u001b[0m"},{"key":"Foo","value":[5,6],"style":"\u001b[31m@\u001b[0m"},{"key":"Foo","value":[6,6],"style":"\u001b[31m@\u001b[0m"}]
jcubic commented 4 years ago

Sorry I was wrong the plot don't work only in my terminal, probably because it don't have goto ANSI escape code.