Modify charts to be compatible with json file as a parameter. Fix details