configure now accepts series argument to generate chart with new data