kroitor / asciichart

Nice-looking lightweight console ASCII line charts ╭┈╯ for NodeJS, browsers and terminal, no dependencies
MIT License
1.87k stars 94 forks source link

Need more y-axis digits #5

Closed madnight closed 4 years ago

madnight commented 6 years ago

https://github.com/madnight/bitcoin-chart-cli/issues/9#issuecomment-350505659

The y-axis only shows four digits of precision, so you can't see the tens of thousands.

madnight commented 6 years ago

Okay i found a way to get more digits by increasing the padding: ' ', however it might be a good idea to dynamically increase the padding so that it is possible to draw large numbers by default

kroitor commented 6 years ago

Hi, thx for opening this issue! It's going to be fixed here: https://github.com/kroitor/asciichart/pull/4 (merging this very soon).

DoktorJ commented 4 years ago

Isn't this fixed? You can use the format parameter now to specify how the Y axis is labeled, yes?

kroitor commented 4 years ago

@DoktorJ Yes, exactly.

@madnight Closing this as solved. Feel free to reopen it if needed.