Rearrange graph and table.