Allow for dynamic chart sizing. Closes #295