The first screenshot doesn't display the 24th hour (hour 0 for the next day), because there is no event that happened between 23:00 and 23:59. If there were no events between 00:00 to 08:00, those hours would not appear on the chart if I don't set the domain myself.
Using [0,24] did not work as the time is entered as a Date type, so using [datemax, datemin])did the trick. Thanks! Didn't see that option anywhere, where did you find it or how do you know that it was posible to do that?.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: