//exported chart is 800x400 (sourceWidth and sourceHeight multiplied by scale)