Allowed changing of API details to redraw chart