Timeline: Show past months

Hi,
I’m trying this lib a bit before committing but by the looks of it there is no way to show a timeline with days going far in the past. I have a requirement that I need to see 6 months in the past, but the oldest day I can render is the start of the current month.

Going through the doc, I though that maybe the min and max would help in combination with having “enough” months in the timeline view setting, but that doesn’t seems to work.

<Eventcalendar
      className="md-drag-drop-bw-inst-project"
      min={start_calendar} // This is 6 months ago
      max={end_calendar} // This is 9 months from now
      // timezonePlugin={luxonTimezone}
      dataTimezone="utc"
      displayTimezone="Europe/London"
      data={projectDates}
      resources={projectResources}
      showControls={false}
      dragToCreate={false}
      dragToMove={true}
      dragToResize={true}
      dragInTime={true}
      defaultSelectedDate={startDate}
      onPageLoading={handlePageLoading}
      onPageLoaded={handleProjectScroll}
      onDestroy={detachProjectScroll}
      onEventUpdated={handleProjectUpdated}
      view={{
          timeline: {
              type: 'month',
              size: 24, // Technically I should just need 15 but I was making sure we didn't ran out of months so they could go in the past too.
              resolutionHorizontal: 'day',
              eventList: true,
              maxEventStack: 'all',
          }
      }}
  />

Hello @Geoffrey :wave:

Can you share a bit more information about the use case? - I’m asking because I’m not entirely sure how would you like to show 6 months in the past and what would be the functionality of this.

Hi @Zsombor thanks for your reply.
The use case is that I’m building a logistic planner. we’ll use this to show ressources allocations ordered by projects. In order to plan for future projects, people will have to know which and how much ressources have been allocated in the past so one single person don’t always get assigned while other people aren’t.

Another use case is that for a project that has 3 phases, they also want to be able to look back to previous phases so they know what equipment was sent and adjust the next phase.

We are planning on having this “past” section read only and style the timeline so the days don’t take as much horizontal space.

I hope this helps.

Hi @Geoffrey,

I do not understand why the past section should be a problem. In the Configure the page, size, resolution demo you can try any view configuration and you’ll notice that going back 6 months in the shouldn’t be a problem.

Let me know what you find!