Is it possible to add a toggle or button to switch between only data from last N points VS all the data

@Bryan thanks, before that, I would like to solve this issue:

As I would like to make “All” active from the RadioButtonGroup, when the “ResetTool” button from the figure toolbar is clicked.