adding chart