We just changed our server and now on our magento dashboard orders graph is working but amounts graph is not working.
I tried many solutions like: 1. updated stats 2. reindexing 3. Changed api url to this: const API_URL = 'http://chart.apis.google.com/chart'; and many more but nothing worked for me.
This is how the amount graph is looking on dashboard.
After adding onilab module my graph is looking like this: Actually I think, the main problem is that it is not calculating tax,shipping and revenue for other intervals other than "This and last year interval" because for "This and last year interval", amounts graph is looking like this: