zacharylaborde / e-gantt-chart

0 stars 0 forks source link

Create a zoom-level controller. #2

Closed zacharylaborde closed 1 year ago

zacharylaborde commented 1 year ago

The zoom level of the gantt chart should be dynamic. I want four separate zoom levels: (1) day-long segments that are tiny allowing for at least a month of data to be visualized on the screen all at once, (2) day-long segments that are much bigger allowing for the user to see about a week or two of data on the screen at once. The events in this instance are displayed as a list on the day and span the entire day even if they don't in their detail. (3) shift-long segments (day, mids, night) shifts that are 8 hour long segments. These segments should span entire shifts and no more, nor no less. (4) hour-long segments which is as detailed as the chart will need to be. This zoom should work like a counter with an upper and lower bound. The zoom will toggle between enums ("Zoomed Out", "Days", "Shifts", "Hours").