Cache rendered graphs, and create fixed-aspect-ratio layout