Adding chart filtering based on call type. The "convert to num/name hashes" section of code can probably be refactored so the data arrays are constructed correctly the first time.