Hi Guru,
You need to specifiy the axis ids of these axes to the range selection.
NRangeSelection rs = new NRangeSelection(someXAxis.AxisId, someYAxis.AxisId);
The axis scroll tool checks which axis you're clicking so it does not accept axis parameters.