in all vs on the whole

in all

prep
  • With everything included, considered or counted. 

on the whole

prep
  • For the most part; apart from some insignificant details. 

How often have the words in all and on the whole occurred in a corpus of books? (source: Google Ngram Viewer )