have on vs pull someone's leg

have on

verb
  • To trick or deceive deliberately; to play a prank on. 

  • To have turned on (an electronic device) 

  • To be wearing. 

pull someone's leg

verb
  • To tease someone; to lead someone on; to goad someone into overreacting. It usually implies teasing or goading by jokingly lying. 

How often have the words have on and pull someone's leg occurred in a corpus of books? (source: Google Ngram Viewer )