added a config object for each chart