shutterstock / rickshaw

JavaScript toolkit for creating interactive real-time graphs
https://shutterstock.github.io/rickshaw
MIT License
6.53k stars 941 forks source link

Rickshaw.Graph.HoverDetail code bug. #126

Closed vladislav-stolyarov closed 12 years ago

vladislav-stolyarov commented 12 years ago

i am too lazy to describe the bug, so i ll show the fix. See rickshaw / src / js / Rickshaw.Graph.HoverDetail.js Line 72. Instead of if (stackedData[0][i + 1] <= domainX) { i++ } ... Should be if (stackedData[0][i + 1].x <= domainX) { i++ } ...

dchester commented 12 years ago

Indeed -- thanks.