putting chart in resolve in case you want to modify after load for any reason