Graph is not showing magento admin dashboard
Here the Solution
Edit the file at app/design/adminhtml/default/default/template/dashboard/graph.phtml
Find this line getChartUrl(false) change to getChartUrl(true)
Go To
app\code\core\Mage\Adminhtml\Block\Dashboard\Graph.php
Check your api url,
const API_URL = 'http://chart.apis.google.com/chart';
Change code for API URL, and then re-index.
Taken from this site
Solution 1:
Allow access to this URL on your firewall: http://chart.apis.google.com/chart
or
Solution 2:
Make sure Magento does not try to fetch the image through PHP Locate this file: app/design/adminhtml/default/default/template/dashboard/graph.phtml And change: "getChartUrl()" to "getChartUrl(true)"
This will cause Magento to just return the image location at http://chart.apis.google.com/chart instead of downloading it through PHP.
Both solutions seem to work great. But Solution 2 could throw a warning if you are running your Magento back-end on an SSL connection (which should be doing by the way!)
After implementing this solution the Magento charts or graphs are shown and you can again admire your sales figures!