doolally vs up the pole

doolally

adj
  • Eccentric; insane, mad. 

  • Carried away by enjoyment, excitement, etc. 

up the pole

prep
  • In favour or good repute; strait-laced. 

  • In trouble or difficulty. 

  • In confusion or error. 

  • Crazy; at one's wits' end. 

How often have the words doolally and up the pole occurred in a corpus of books? (source: Google Ngram Viewer )