add width/height options to the chart