econodist_legend_grob.Rd
Create a legend grob that can be used with econodist charts
econodist_legend_grob(family = "EconSansCndLig", label_size = 10, tenth_lab = "10th percentile", tenth_col = econ_tenth, med_lab = "Median", med_col = econ_median, ninetieth_lab = "90th percentile", ninetieth_col = econ_ninetieth, label_col = econ_text_col)
family | font family |
---|---|
label_size | size of legend text |
tenth_lab, tenth_col | label & color for the tenth bar |
med_lab, med_col | label & color for the median point |
ninetieth_lab, ninetieth_col | lanbel & color for the ninetieth bar |
label_col | color of the legend text |
Other Econodist legend helpers: add_econodist_legend
,
left_align