Skip to content

potential issue: legend text cutting off, not wrapping #82

@MrichardsPSRC

Description

@MrichardsPSRC

own_race_income_chart <- static_bar_chart(t=dt_2021_simprace,
x="share", y="income_cat",
fill="HRACE",
pos="dodge",
est="percent",
# moe="share_moe",
# href="ref_val", hrefnm="Region",
# hrefcl='#00716c',
title="Regional Homeownership by Income and Race/Ethnicity",
subtitle=NULL,
source=paste("U.S. Census Bureau, American Community Survey (ACS) 2021 1-Year Public Use Microdata Sample (PUMS)"),
alt=NULL,
xlabel=NULL, ylabel=NULL,
dec = 2, color="psrc_light") #+ theme(legend.position = "none") + scale_x_discrete(limits=rev) #alphabetical order

own-race-income-chart-1

This could be because I set the Rmarkdown to include Christy's suggested setting : {r own-race-income-chart, fig.width=10}

When I generate it in Rstudio:
image

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