be on fire vs go up in flames

be on fire

go up in flames

verb
  • To catch fire. 

  • To be cancelled or ruined without any hope of return. 

How often have the words be on fire and go up in flames occurred in a corpus of books? (source: Google Ngram Viewer )