field chart refactoring. preparing to allow multi-line charts. #370