select works on ranges too for numeric values
select works well on ranges that are outside of the data
basic tests for scroll_data, but it's hard, especially for dialogs
add plot_xy and test for it, pretty straightforward plot
use tuple to be sure that max behaves as expected