Make graph selection dynamic based on config.js