Update canvas and chart widths.