gizak / termui

Golang terminal dashboard
MIT License
13.14k stars 787 forks source link

Allow for custom number formatting function in barchart #118

Closed bcicen closed 6 years ago

bcicen commented 7 years ago

Allows a custom function to be defined when creating bar labels, useful in cases where the underlying "real" value might want to be truncated, converted to human-readable byte quantities, etc.

vielmetti commented 7 years ago

Can we get this merged in, if it's ready? It seems to be cropping up with ctop problems.

kenan-rhoton commented 7 years ago

Is there any reason for this to not be merged in already?

cjbassi commented 6 years ago

Thanks!