Closed jcubic closed 5 years ago
Check this code:
const ervy = require('ervy'); console.log(ervy.bar([ { key: 'A', value: 30, style: ervy.bg('green') }, { key: 'B', value: 10, style: ervy.bg('blue')}, { key: 'C', value: 50, style: ervy.bg('red')} ])); console.log(ervy.bar([ { key: 'A', value: 30, style: ervy.bg('green') }, { key: 'B', value: 10, style: ervy.bg('blue')}, { key: 'C', value: 50, style: ervy.bg('red')} ]));
each time you call ervy.bar, next bar char is indented with one more additional space
ervy.bar
Check this code:
each time you call
ervy.bar
, next bar char is indented with one more additional space