shutterstock/rickshaw — pull request #263 by JeremyChase (2013-06-18 19:57:48+00:00)
Title: Allow hover to work for X values not uniformly spaced.

While graphing a data set with X values that weren't not uniformly spaced I found that I was unable to hover over some datapoints. The root of this issue is that d3.scale.linear()'s range() and domain() were taking the minimum and maximum values and then returning an index uniformly spaced between data points. Rather than passing the minimum and maximum values we can pass in discrete values for both the input and output. This allows us to hover over all data points regardless of spacing.

For example, if we graphed the following series, this issue would prohibit us from hovering over the 380 datapoint: [0,100,200,300,380,400]

I started to look at Rickshaw's test system, but I got stumped on this error "Error: Wrong document."