shutterstock/rickshaw — pull request #372 by deldrid1 (2014-01-02 14:29:40+00:00)
Title: Rickshaw.Graph.RangeSlider.Preview supports millisecond zooming

This pull requests changes the domainScale interpolate function of Rickshaw.Graph.RangeSlider.Preview to d3.interpolateNumber (vs. d3.interpolateRound) so that the RangeSlider Preview Window can zoom into millisecond levels of precision.

Before it would only allow a window of 1 second which is useless for data such as this (about half a second of data captured at 1kHz)
'''
[{"name": "testData", "data":[{"x":1387218715.880377,"y":7.176964999999999},{"x":1387218715.881377,"y":7.338151},{"x":1387218715.882377,"y":7.523505999999999},{"x":1387218715.8833768,"y":7.709669999999999},{"x":1387218715.884377,"y":7.889379999999999},{"x":1387218715.885377,"y":6.600805675999999},{"x":1387218715.8863769,"y":6.7844999999999995},{"x":1387218715.887377,"y":6.967439},{"x":1387218715.888377,"y":7.150378},{"x":1387218715.8893769,"y":7.338151},{"x":1387218715.890377,"y":7.521089},{"x":1387218715.891377,"y":7.704829999999999},{"x":1387218715.892377,"y":7.891},{"x":1387218715.893377,"y":6.60402838},{"x":1387218715.894377,"y":6.6902357},{"x":1387218715.895377,"y":6.874785999999999},{"x":1387218715.8963768,"y":7.060948},{"x":1387218715.897377,"y":7.242274999999999},{"x":1387218715.898377,"y":7.4292419999999995},{"x":1387218715.8993769,"y":7.61133},{"x":1387218715.900377,"y":7.79749},{"x":1387218715.901377,"y":7.9828399999999995},{"x":1387218715.902377,"y":6.6910414},{"x":1387218715.903377,"y":6.876397},{"x":1387218715.904377,"y":7.059336},{"x":1387218715.905377,"y":7.2454979999999995},{"x":1387218715.9063768,"y":7.4292419999999995},{"x":1387218715.907377,"y":7.6145499999999995},{"x":1387218715.908377,"y":7.80071},{"x":1387218715.9093769,"y":7.978809999999999},{"x":1387218715.910377,"y":6.60161135},{"x":1387218715.911377,"y":6.7844999999999995},{"x":1387218715.9123769,"y":6.969856},{"x":1387218715.913377,"y":7.1519889999999995},{"x":1387218715.914377,"y":7.336539},{"x":1387218715.915377,"y":7.519477999999999},{"x":1387218715.916377,"y":7.706449999999999},{"x":1387218715.917377,"y":7.8918},{"x":1387218715.918377,"y":6.6},{"x":1387218715.9193769,"y":6.6910414},{"x":1387218715.920377,"y":6.876397},{"x":1387218715.921377,"y":7.059336},{"x":1387218715.9223769,"y":7.246303999999999},{"x":1387218715.923377,"y":7.432465},{"x":1387218715.924377,"y":7.61133},{"x":1387218715.925377,"y":7.79829},{"x":1387218715.926377,"y":7.98204},{"x":1387218715.927377,"y":6.6},{"x":1387218715.928377,"y":6.782889},{"x":1387218715.9293768,"y":6.966633},{"x":1387218715.930377,"y":7.1536},{"x":1387218715.931377,"y":7.337345},{"x":1387218715.9323769,"y":7.520283999999999},{"x":1387218715.933377,"y":7.704829999999999},{"x":1387218715.934377,"y":7.89019},{"x":1387218715.935377,"y":6.6},{"x":1387218715.936377,"y":6.782889},{"x":1387218715.937377,"y":6.968243999999999},{"x":1387218715.938377,"y":7.151183},{"x":1387218715.939377,"y":7.338956},{"x":1387218715.940377,"y":7.520283999999999},{"x":1387218715.941377,"y":7.7040299999999995},{"x":1387218715.9423769,"y":7.889379999999999},{"x":1387218715.943377,"y":6.6},{"x":1387218715.944377,"y":6.6910414},{"x":1387218715.9453769,"y":6.875591999999999},{"x":1387218715.946377,"y":7.060948},{"x":1387218715.947377,"y":7.242274999999999},{"x":1387218715.948377,"y":7.427631},{"x":1387218715.949377,"y":7.61374},{"x":1387218715.950377,"y":7.79749},{"x":1387218715.951377,"y":7.98043},{"x":1387218715.9523768,"y":6.692652799999999},{"x":1387218715.953377,"y":6.878009},{"x":1387218715.954377,"y":7.060142},{"x":1387218715.9553769,"y":7.2454979999999995},{"x":1387218715.956377,"y":7.428437},{"x":1387218715.957377,"y":7.61374},{"x":1387218715.958377,"y":7.799099999999999},{"x":1387218715.959377,"y":7.98204},{"x":1387218715.960377,"y":6.6},{"x":1387218715.961377,"y":6.783694},{"x":1387218715.962377,"y":6.970661},{"x":1387218715.963377,"y":7.1536},{"x":1387218715.964377,"y":7.3397619999999995},{"x":1387218715.9653769,"y":7.524312},{"x":1387218715.966377,"y":7.70725},{"x":1387218715.967377,"y":7.89019},{"x":1387218715.9683769,"y":6.6},{"x":1387218715.969377,"y":6.688624399999999},{"x":1387218715.970377,"y":6.874785999999999},{"x":1387218715.971377,"y":7.0585309999999994},{"x":1387218715.972377,"y":7.2414689999999995},{"x":1387218715.973377,"y":7.428437},{"x":1387218715.974377,"y":7.610519999999999},{"x":1387218715.9753768,"y":7.796679999999999},{"x":1387218715.976377,"y":7.98043},{"x":1387218715.977377,"y":6.6894301},{"x":1387218715.9783769,"y":6.873175},{"x":1387218715.979377,"y":6.967439},{"x":1387218715.980377,"y":7.264834},{"x":1387218715.981377,"y":7.338151},{"x":1387218715.982377,"y":7.519477999999999},{"x":1387218715.983377,"y":7.704829999999999},{"x":1387218715.984377,"y":7.89019},{"x":1387218715.9853768,"y":6.6},{"x":1387218715.986377,"y":6.7844999999999995},{"x":1387218715.987377,"y":6.968243999999999},{"x":1387218715.9883769,"y":7.150378},{"x":1387218715.989377,"y":7.338151},{"x":1387218715.990377,"y":7.521089},{"x":1387218715.9913769,"y":7.70564},{"x":1387218715.992377,"y":7.88777},{"x":1387218715.993377,"y":6.6},{"x":1387218715.994377,"y":6.6910414},{"x":1387218715.995377,"y":6.877203},{"x":1387218715.996377,"y":7.059336},{"x":1387218715.997377,"y":7.244692},{"x":1387218715.9983768,"y":7.4292419999999995},{"x":1387218715.999377,"y":7.6145499999999995},{"x":1387218716.000377,"y":7.79829},{"x":1387218716.0013769,"y":7.98123},{"x":1387218716.002377,"y":6.692652799999999},{"x":1387218716.003377,"y":6.878009},{"x":1387218716.004377,"y":7.060948},{"x":1387218716.005377,"y":7.243081},{"x":1387218716.006377,"y":7.430047999999999},{"x":1387218716.007377,"y":7.61374},{"x":1387218716.0083768,"y":7.799899999999999},{"x":1387218716.009377,"y":7.98204},{"x":1387218716.010377,"y":6.6},{"x":1387218716.0113769,"y":6.7844999999999995},{"x":1387218716.012377,"y":6.965827},{"x":1387218716.013377,"y":7.155212},{"x":1387218716.0143769,"y":7.337345},{"x":1387218716.015377,"y":7.521089},{"x":1387218716.016377,"y":7.706449999999999},{"x":1387218716.017377,"y":7.88777},{"x":1387218716.018377,"y":6.60161135},{"x":1387218716.019377,"y":6.688624399999999},{"x":1387218716.020377,"y":6.873175},{"x":1387218716.0213768,"y":7.059336},{"x":1387218716.022377,"y":7.2454979999999995},{"x":1387218716.023377,"y":7.428437},{"x":1387218716.0243769,"y":7.61294},{"x":1387218716.025377,"y":7.799899999999999},{"x":1387218716.026377,"y":7.9828399999999995},{"x":1387218716.027377,"y":6.6902357},{"x":1387218716.028377,"y":6.877203},{"x":1387218716.029377,"y":7.062558999999999},{"x":1387218716.030377,"y":7.2454979999999995},{"x":1387218716.0313768,"y":7.338956},{"x":1387218716.032377,"y":7.525118},{"x":1387218716.033377,"y":7.706449999999999},{"x":1387218716.0343769,"y":7.889379999999999},{"x":1387218716.035377,"y":6.600805675999999},{"x":1387218716.036377,"y":6.7844999999999995},{"x":1387218716.0373769,"y":6.968243999999999},{"x":1387218716.038377,"y":7.152794999999999},{"x":1387218716.039377,"y":7.338151},{"x":1387218716.040377,"y":7.522701},{"x":1387218716.041377,"y":7.706449999999999},{"x":1387218716.042377,"y":7.89019},{"x":1387218716.043377,"y":6.60241703},{"x":1387218716.0443769,"y":6.6894301},{"x":1387218716.045377,"y":6.874785999999999},{"x":1387218716.046377,"y":7.0585309999999994},{"x":1387218716.0473769,"y":7.243081},{"x":1387218716.048377,"y":7.430854},{"x":1387218716.049377,"y":7.61374},{"x":1387218716.050377,"y":7.79749},{"x":1387218716.051377,"y":7.98204},{"x":1387218716.052377,"y":6.6902357},{"x":1387218716.053377,"y":6.874785999999999},{"x":1387218716.0543768,"y":7.0585309999999994},{"x":1387218716.055377,"y":7.243886},{"x":1387218716.056377,"y":7.430047999999999},{"x":1387218716.0573769,"y":7.61294},{"x":1387218716.058377,"y":7.79829},{"x":1387218716.059377,"y":7.98123},{"x":1387218716.060377,"y":6.60161135},{"x":1387218716.061377,"y":6.783694},{"x":1387218716.062377,"y":6.969049999999999},{"x":1387218716.063377,"y":7.151183},{"x":1387218716.064377,"y":7.3357339999999995},{"x":1387218716.065377,"y":7.521895},{"x":1387218716.066377,"y":7.70806},{"x":1387218716.0673769,"y":7.89019},{"x":1387218716.068377,"y":6.6},{"x":1387218716.069377,"y":6.6910414},{"x":1387218716.0703769,"y":6.876397},{"x":1387218716.071377,"y":7.062558999999999},{"x":1387218716.072377,"y":7.247109},{"x":1387218716.073377,"y":7.4292419999999995},{"x":1387218716.074377,"y":7.61374},{"x":1387218716.075377,"y":7.79749},{"x":1387218716.076377,"y":7.987679999999999},{"x":1387218716.0773768,"y":6.692652799999999},{"x":1387218716.078377,"y":6.875591999999999},{"x":1387218716.079377,"y":7.059336},{"x":1387218716.0803769,"y":7.268057},{"x":1387218716.081377,"y":7.338151},{"x":1387218716.082377,"y":7.519477999999999},{"x":1387218716.083377,"y":7.704829999999999},{"x":1387218716.084377,"y":7.8926099999999995},{"x":1387218716.085377,"y":6.6},{"x":1387218716.086377,"y":6.783694},{"x":1387218716.087377,"y":6.969049999999999},{"x":1387218716.088377,"y":7.1519889999999995},{"x":1387218716.089377,"y":7.337345},{"x":1387218716.0903769,"y":7.521895},{"x":1387218716.091377,"y":7.70564},{"x":1387218716.092377,"y":7.891},{"x":1387218716.0933769,"y":6.60161135},{"x":1387218716.094377,"y":6.6910414},{"x":1387218716.095377,"y":6.875591999999999},{"x":1387218716.096377,"y":7.059336},{"x":1387218716.097377,"y":7.247109},{"x":1387218716.098377,"y":7.431659},{"x":1387218716.099377,"y":7.61374},{"x":1387218716.1003768,"y":7.79749},{"x":1387218716.101377,"y":7.985259999999999},{"x":1387218716.102377,"y":6.692652799999999},{"x":1387218716.1033769,"y":6.877203},{"x":1387218716.104377,"y":7.060948},{"x":1387218716.105377,"y":7.244692},{"x":1387218716.106377,"y":7.430047999999999},{"x":1387218716.107377,"y":7.6145499999999995},{"x":1387218716.108377,"y":7.799099999999999},{"x":1387218716.109377,"y":7.98365},{"x":1387218716.1103768,"y":6.6},{"x":1387218716.111377,"y":6.783694},{"x":1387218716.112377,"y":6.968243999999999},{"x":1387218716.1133769,"y":7.156016999999999},{"x":1387218716.114377,"y":7.338956},{"x":1387218716.115377,"y":7.521895},{"x":1387218716.1163769,"y":7.706449999999999},{"x":1387218716.117377,"y":7.891},{"x":1387218716.118377,"y":6.60241703},{"x":1387218716.119377,"y":6.6918470999999995},{"x":1387218716.120377,"y":6.877203},{"x":1387218716.121377,"y":7.057725},{"x":1387218716.122377,"y":7.2454979999999995},{"x":1387218716.1233768,"y":7.426825},{"x":1387218716.124377,"y":7.61616},{"x":1387218716.125377,"y":7.79829},{"x":1387218716.1263769,"y":7.9828399999999995},{"x":1387218716.127377,"y":6.6910414},{"x":1387218716.128377,"y":6.8739799999999995},{"x":1387218716.129377,"y":7.060142},{"x":1387218716.130377,"y":7.244692},{"x":1387218716.131377,"y":7.4292419999999995},{"x":1387218716.132377,"y":7.61213},{"x":1387218716.1333768,"y":7.706449999999999},{"x":1387218716.134377,"y":7.8918},{"x":1387218716.135377,"y":6.6},{"x":1387218716.1363769,"y":6.783694},{"x":1387218716.137377,"y":6.967439},{"x":1387218716.138377,"y":7.154406},{"x":1387218716.1393769,"y":7.337345},{"x":1387218716.140377,"y":7.522701},{"x":1387218716.141377,"y":7.70806},{"x":1387218716.142377,"y":7.889379999999999},{"x":1387218716.143377,"y":6.6},{"x":1387218716.144377,"y":6.6918470999999995},{"x":1387218716.145377,"y":6.876397},{"x":1387218716.1463768,"y":7.0585309999999994},{"x":1387218716.147377,"y":7.244692},{"x":1387218716.148377,"y":7.426825},{"x":1387218716.1493769,"y":7.61213},{"x":1387218716.150377,"y":7.799899999999999},{"x":1387218716.151377,"y":7.98204},{"x":1387218716.152377,"y":6.6918470999999995},{"x":1387218716.153377,"y":6.875591999999999},{"x":1387218716.154377,"y":7.060142},{"x":1387218716.155377,"y":7.244692},{"x":1387218716.1563768,"y":7.430854},{"x":1387218716.157377,"y":7.61294},{"x":1387218716.158377,"y":7.79507},{"x":1387218716.1593769,"y":7.98365},{"x":1387218716.160377,"y":6.6},{"x":1387218716.161377,"y":6.7844999999999995},{"x":1387218716.1623769,"y":6.967439},{"x":1387218716.163377,"y":7.1536},{"x":1387218716.164377,"y":7.338956},{"x":1387218716.165377,"y":7.523505999999999},{"x":1387218716.166377,"y":7.70886},{"x":1387218716.167377,"y":7.891},{"x":1387218716.168377,"y":6.6},{"x":1387218716.1693769,"y":6.6918470999999995},{"x":1387218716.170377,"y":6.875591999999999},{"x":1387218716.171377,"y":7.060142},{"x":1387218716.1723769,"y":7.246303999999999},{"x":1387218716.173377,"y":7.430854},{"x":1387218716.174377,"y":7.61294},{"x":1387218716.175377,"y":7.79829},{"x":1387218716.176377,"y":7.9828399999999995},{"x":1387218716.177377,"y":7.98123},{"x":1387218716.178377,"y":7.985259999999999},{"x":1387218716.1793768,"y":7.98365},{"x":1387218716.180377,"y":7.98204},{"x":1387218716.181377,"y":7.98204},{"x":1387218716.1823769,"y":7.98365},{"x":1387218716.183377,"y":7.98204},{"x":1387218716.184377,"y":7.98204},{"x":1387218716.185377,"y":7.98204},{"x":1387218716.186377,"y":7.970759999999999},{"x":1387218716.187377,"y":7.985259999999999},{"x":1387218716.188377,"y":7.98123},{"x":1387218716.189377,"y":7.9828399999999995},{"x":1387218716.190377,"y":7.98204},{"x":1387218716.191377,"y":7.98204},{"x":1387218716.1923769,"y":7.98204},{"x":1387218716.193377,"y":7.9828399999999995},{"x":1387218716.194377,"y":7.9828399999999995},{"x":1387218716.1953769,"y":7.98365},{"x":1387218716.196377,"y":7.98204},{"x":1387218716.197377,"y":7.98123},{"x":1387218716.198377,"y":7.98204},{"x":1387218716.199377,"y":7.98204},{"x":1387218716.200377,"y":7.98204},{"x":1387218716.201377,"y":7.9828399999999995},{"x":1387218716.2023768,"y":7.9828399999999995},{"x":1387218716.203377,"y":7.9828399999999995},{"x":1387218716.204377,"y":7.98445},{"x":1387218716.2053769,"y":7.98365},{"x":1387218716.206377,"y":7.98445},{"x":1387218716.207377,"y":7.98123},{"x":1387218716.208377,"y":7.985259999999999},{"x":1387218716.209377,"y":7.98365},{"x":1387218716.210377,"y":7.98365},{"x":1387218716.211377,"y":7.9828399999999995},{"x":1387218716.212377,"y":7.98204},{"x":1387218716.213377,"y":7.9828399999999995},{"x":1387218716.214377,"y":7.98365},{"x":1387218716.2153769,"y":7.9828399999999995},{"x":1387218716.216377,"y":7.985259999999999},{"x":1387218716.217377,"y":7.98445},{"x":1387218716.2183769,"y":7.98204},{"x":1387218716.219377,"y":7.98365},{"x":1387218716.220377,"y":7.98204},{"x":1387218716.221377,"y":7.98204},{"x":1387218716.222377,"y":7.98123},{"x":1387218716.223377,"y":7.98365},{"x":1387218716.224377,"y":7.98204},{"x":1387218716.2253768,"y":7.98445},{"x":1387218716.226377,"y":7.98204},{"x":1387218716.227377,"y":7.98123},{"x":1387218716.2283769,"y":7.98365},{"x":1387218716.229377,"y":7.98204},{"x":1387218716.230377,"y":7.98204},{"x":1387218716.231377,"y":7.98365},{"x":1387218716.232377,"y":7.98365},{"x":1387218716.233377,"y":7.98365},{"x":1387218716.234377,"y":7.98445},{"x":1387218716.2353768,"y":7.98365},{"x":1387218716.236377,"y":7.9828399999999995},{"x":1387218716.237377,"y":7.9828399999999995},{"x":1387218716.2383769,"y":7.98123},{"x":1387218716.239377,"y":7.98204},{"x":1387218716.240377,"y":7.9828399999999995},{"x":1387218716.2413769,"y":7.9828399999999995},{"x":1387218716.242377,"y":7.985259999999999},{"x":1387218716.243377,"y":7.98123},{"x":1387218716.244377,"y":7.978809999999999},{"x":1387218716.245377,"y":7.9828399999999995},{"x":1387218716.246377,"y":7.98365},{"x":1387218716.247377,"y":7.98365},{"x":1387218716.2483768,"y":7.9828399999999995},{"x":1387218716.249377,"y":7.9828399999999995},{"x":1387218716.250377,"y":7.98123},{"x":1387218716.2513769,"y":7.98204},{"x":1387218716.252377,"y":7.9828399999999995},{"x":1387218716.253377,"y":7.9828399999999995},{"x":1387218716.254377,"y":7.9828399999999995},{"x":1387218716.255377,"y":7.98365},{"x":1387218716.256377,"y":7.9828399999999995},{"x":1387218716.257377,"y":7.9828399999999995},{"x":1387218716.2583768,"y":7.98445},{"x":1387218716.259377,"y":7.98204},{"x":1387218716.260377,"y":7.9828399999999995},{"x":1387218716.2613769,"y":7.98365},{"x":1387218716.262377,"y":7.98123},{"x":1387218716.263377,"y":7.98043},{"x":1387218716.2643769,"y":7.98365},{"x":1387218716.265377,"y":7.98043},{"x":1387218716.266377,"y":7.9828399999999995},{"x":1387218716.267377,"y":7.98445},{"x":1387218716.268377,"y":7.98204},{"x":1387218716.269377,"y":7.98204},{"x":1387218716.270377,"y":7.98204},{"x":1387218716.2713768,"y":7.98123},{"x":1387218716.272377,"y":7.9828399999999995},{"x":1387218716.273377,"y":7.985259999999999},{"x":1387218716.2743769,"y":7.9828399999999995},{"x":1387218716.275377,"y":7.9828399999999995},{"x":1387218716.276377,"y":7.9828399999999995},{"x":1387218716.277377,"y":7.98204},{"x":1387218716.278377,"y":7.98365},{"x":1387218716.279377,"y":7.98365}]}]
'''