Add investevents chart
Remove useless code