madnight/bitcoin-chart-cli

Might need to add room for another digit.

howardroark opened this issue ยท 5 comments

๐Ÿ˜œ

Bitcoin chart past 90 days since 2017-09-09 10:56 pm. Current value: 15883.15 USD this is my bitcoin output, so prices above 10k works, but i guess you refer to something else, could you elaborate more?

6850.31 โ”ค                                                                                       โ•ญโ”€โ•ฎ
5878.37 โ”ค                                                                                       โ”‚ โ”‚
4906.42 โ”ค                                                                                       โ”‚ โ•ฐ
3934.48 โ”ค                                                                                      โ•ญโ•ฏ
2962.53 โ”ค                                                                                      โ”‚
1990.59 โ”ค                                                                                   โ•ญโ”€โ”€โ•ฏ
1018.64 โ”ค                                                                                 โ•ญโ”€โ•ฏ
0046.69 โ”ค                                                                            โ•ญโ”€โ”€โ”€โ”€โ•ฏ
9074.75 โ”ค                                                                           โ•ญโ•ฏ
8102.81 โ”ค                                                      โ•ญโ”€โ•ฎ โ•ญโ•ฎ      โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
7130.86 โ”ค                                                  โ•ญโ”€โ”€โ”€โ•ฏ โ•ฐโ”€โ•ฏโ•ฐโ”€โ”€โ•ฎโ•ญโ”€โ”€โ•ฏ
6158.91 โ”ค                               โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ           โ•ฐโ•ฏ
5186.97 โ”ค                    โ•ญโ”€โ•ฎ   โ•ญโ”€โ”€โ”€โ”€โ•ฏ
4215.02 โ”ผโ”€โ”€โ”€โ•ฎโ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ โ•ฐโ”€โ”€โ”€โ•ฏ
3243.08 โ”ค   โ•ฐโ•ฏ
  	Bitcoin chart past 90 days since 2017-09-10 01:07 pm. Current 14493.32$ / 12374.03โ‚ฌ.

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

ah damnit, yes seems to be a limitation of the library https://github.com/kroitor/asciichart that is used to draw the chart, i'll open a issue over there. Thx for reporting

okay new version 3.1.2 is out, you can upgrade via: npm install -g bitcoin-chart-cli --upgrade

the digit precision and padding should be better now, report if you still face any issues

Works great! Sorry for not being more specific, was just trying to be funny about the recent climb. Thanks @bertrandom :)