At the end of the day, what matters here is how much money you make and how long it took you to get it, which is a function of sell price - buy price + dividends received - transaction costs and taxes paid. This chart ignores the dividends received part, and thus misrepresents the value of the stock. I don't know how big the dividend is so I don't know by how much. I doubt it would really make -50whatever% a whole lot better, but it would certainly be something better.
Traditionally dividends are generally paid out by businesses that can't reasonably expect to use their cash to grow - reinvesting all your cash to grow may not make sense if your growth is limited by geography or by completely owning an entire market. The textbook example is a utility company.