selecting from dropdown changes graph