I did some weird calculations to try to make the bottom axis responsive to the number of hours of data that are fetched. Really, the hour and tick markers should just be fixed and the hour labels are all that can vary. As long as the user can only select from 12-hour increments, it will be trivial to calculate the label values from the starting hour.
I did some weird calculations to try to make the bottom axis responsive to the number of hours of data that are fetched. Really, the hour and tick markers should just be fixed and the hour labels are all that can vary. As long as the user can only select from 12-hour increments, it will be trivial to calculate the label values from the starting hour.