How to enable the Magento 2 Dashboard graphs?

This article will help you enable the Magento 2 graphs that appear in your dashboard.

In order to activate this graphs in your dashboard you can follow this next steps, the end result will be appreciated as this:

Magento-graph

The steps to enable this charts are:

1. Go to this directory and open the file graph.phtml
- vendor / magento / module-backend / view / adminhtml / templates / dashboard / graph.phtml
2. Change the method: getChartUrl(false) to getChartUrl(true);
3. Save the file.
4. Clear cache: php bin/magento cache:flush
 
By following these steps, you will enable the Magento 2 graphs in your store's dashboard.

 

Felipe Hidalgo.