make charts based on field config