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

Please add a feature to vary the thickness of the line in Geom.line and Geom.path #1613

Open
arinbasu opened this issue May 4, 2023 · 1 comment

Comments

@arinbasu
Copy link

arinbasu commented May 4, 2023

Geom.line and Geom.path are widely used for a range of different visualisations. Both these features can gain if a line thickness or linesize parameter is added to the function. Can you please add a linesize parameter, such that we could do something like
Geom.line(size = somevalue) OR
Geom.line(size = :some_variable)
and depending in the value of the variable, the thickness of the line would change.
I was working on the codes in ggplot by Hadley Wickham from his article layered grammar of graphics where he demonstrated this feature for drawing Minard's March. I could reproduce most of Minard's March through Gadfly, but the variable thickness of the lines would be useful.

@bjarthur
Copy link
Member

bjarthur commented May 4, 2023

have you tried line_width in a Theme? see http://gadflyjl.org/stable/lib/gadfly/#Gadfly.Theme

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

2 participants