go to the dogs vs go up in flames

go to the dogs

verb
  • To decline or deteriorate shockingly. 

go up in flames

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

  • To catch fire. 

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