Open liuzj039 opened 2 years ago
Hi, I don't think you've missed anything. width
is a bit of a rough edge — it's potentially important for all marks (because it could be needed to dodge properly) but not a relevant property for all marks. ggplot
has width
of the parameter of position_dodge
which I always thought was a little confusing.
Hopefully this will improve as part of addressing #2911, and maybe #2982.
Very much looking forward to the following updates
Following up on this, until this issue gets fixed, how would a user write additional code so as to align the error bar locations with the bars on the barplot?
After changing the width, the errorbar still seems to appear in the original position. Is it necessary to add width parameters to other marks like Range as well?
I noticed that there is a gap parameter in Dodge, but it doesn't seem to work for this case.
Please forgive me if I missed something.