added subs for generating graphs when station marker is clicked