When I load my chart, it displays all of my data from my database, but when I tried to filter it by dates, it can successfully fetch the data from the API (when I use consol