I'm looking for a way to hide parts of a graph (namely the axes and plot) on a certain side of an axis (enclosed by the red boxes in the image below). I would like the labels to still be visible and the graph to still be scrollable.

I've tried setting visibleRange but it hides the axes for a fixed range, and doesn't quite work when the graph is scrollable.
Thanks in advance for any help.