Hi,
I need support in creating a histogram that can show the count of objects on a daily basis if the date (in the histogram) falls within a date range. It should show count of the objects even if there is no object available for any particular date of the date field.For example, date field contains objects for 2nd August, 4th August and 8th August. But histogram should show the object count of the missing dates like 3rd, 5th, 6th and 7th.
Data structure:
{
"SiteId" : 1,
"StartDate" : "2021-07-31",
"EndDate" : "2021-08-04",
"CreatedAt" : "2021-08-02T23:11:25.84"
}
{
"SiteId" : 2,
"StartDate" : "2021-08-03",
"EndDate" : "2021-08-05",
"CreatedAt" : "2021-08-04T23:11:25.84"
}
{
"SiteId" : 3,
"StartDate" : "2021-08-03",
"EndDate" : "2021-08-10",
"CreatedAt" : "2021-08-08T23:11:25.84"
}
Expected output:
Appreciate any help in advance.
