Skip to content

Multiple error bars when columns are stacked #93

@MrichardsPSRC

Description

@MrichardsPSRC

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)
                                               )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions