Switching daily chart data from enphase API calls to local API calls