Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--width only applies to the highest value with used with --stack #69

Open
danielhoherd opened this issue Oct 9, 2020 · 0 comments
Open

Comments

@danielhoherd
Copy link
Contributor

when using --stack and --width together, the width is determined by the highest single value in the series, setting all other values as a proportion of that, greatly extending the width beyond what is designated, and making it impossible to designate a desired width when working with values that are not known ahead of time.

$ cat <<EOF | termgraph --custom-tick="X" --stack --width=10
test1 10 20 40 40 40
test2 10 20 40 40 10
test3 10 10 10 10 10
EOF

test1: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 150.00
test2: XXXXXXXXXXXXXXXXXXXXXXXXXXXXX 120.00
test3: XXXXXXXXXX 50.00

Screen Shot 2020-10-09 at 10 49 27 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant