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

Multiple error bars when columns are stacked #93

Open
MrichardsPSRC opened this issue Oct 4, 2024 · 0 comments
Open

Multiple error bars when columns are stacked #93

MrichardsPSRC opened this issue Oct 4, 2024 · 0 comments

Comments

@MrichardsPSRC
Copy link

MrichardsPSRC commented Oct 4, 2024

image

I created a facet chart with stacked columns using the psrcplot function, but the error bars are showing as if the columns were "dodge" instead of "stack" as the pos argument

prev_tenure_vis <- static_facet_column_chart(disp_prev_tenure,
                                             x = "prev_rent_own_bin2", y = "prop", fill = "displaced_movers",
                                             facet="survey_year",
                                             ylabel = "% of respondents", xlabel = "Household race",
                                             title = "Displacement by Previous Housing Tenure",
                                             moe = "prop_moe", ncol=2, pos="stack") + theme(
                                               axis.text.x = element_text(size = 14),
                                               axis.text.y = element_text(size = 14),
                                               axis.title.y = element_text(size = 20),
                                               axis.title.x = element_text(size = 20),
                                               plot.title = element_text(size = 24)
                                               )
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