Prevent chart over-scroll when chartXSelection goes beyond last data point
I am working on a swift chart feature that allows users to “scrub” through it in order to view more detailed information about a data point. Implementation is the same as in this wwdc 2023 video