add historical graph