bound graph to data to create automatically