found the data format that should be there in the json reply for the charts