\documentclass[a4paper]{article}
\usepackage[top=1cm, bottom=1cm, left=1cm, right=1cm,]{geometry}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
% Font setup
\usepackage[default,scale=0.95]{opensans}
\begin{document}
<<barChart-1, cache=FALSE, fig.height=5, fig.width=9>>=
assetClassDF <- params$oneYearReturns
assetClassDF$AssetClass <- factor(assetClassDF$AssetClass,levels = assetClassDF$AssetClass)
assetClassDF$label = paste(format(round(100*assetClassDF$Return,1), digits=2),"%")
assetClassDF$AssetClassLabel <- gsub(" ", "\n", assetClassDF$AssetClass)
assetClassDF$AssetClassOrderedLabel = factor(assetClassDF$AssetClassLabel,levels=assetClassDF$AssetClassLabel)
assetClassDF$AssetClassLegendLabel = paste0(assetClassDF$AssetClass," - ",format(assetClassDF$Return*100,digits = 2,trim=TRUE),"%")
ggplot(data=assetClassDF,aes(x=AssetClassOrderedLabel, y=Return)) +
geom_bar(aes(fill = AssetClass), width = 0.6, stat = "identity")+
geom_text(aes(label=label, vjust=-0.25),color='#111111',position=position_stack(0.45)) +
scale_fill_manual(breaks = assetClassDF$AssetClassLegendLabel,
values = c("#004B8D","#BA8C60","#606163","#7091AF","#C3AE9B","#A0A1A2","#8491B0", "#555555")) +
theme_economist()+
theme(panel.grid.major = element_line(colour = "#D3D3D3", size=0.5))+
theme(legend.position="none", legend.title=element_blank(),legend.background=element_rect(fill = "#FFFFFF", colour = '#FFFFFF'))+
theme(legend.text=element_text(size=12,color="#6D6E71"),legend.key = element_rect(fill = "#FFFFFF"))+
theme(axis.title.y=element_text(colour = "#6D6E71",size=12,margin=unit(c(0.2,0.2,0,0.2),units="cm"))) +
theme(panel.background = element_rect(fill = "#FFFFFF", colour = '#FFFFFF'),
plot.background = element_rect(fill = "transparent", colour = '#FFFFFF',size = 0)
,axis.title.x=element_blank())+
theme(axis.text.x=element_text(colour = "#6D6E71",size=12)) +
labs(y="Return (%)") +
scale_y_continuous(breaks = pretty(assetClassDF$Return,n=8),labels = 100*pretty(assetClassDF$Return,n=8))
@
\vspace{0.5cm}
\end{document}