restore chart building