RuntimeError: chart could not be resolved