Make setSelection() work with missing points.
authorAdam Vartanian <flooey@gmail.com>
Mon, 13 Oct 2014 16:35:36 +0000 (12:35 -0400)
committerDan Vanderkam <danvdk@gmail.com>
Wed, 22 Oct 2014 02:31:06 +0000 (22:31 -0400)
commit9b7f997297a8c8becb3359186f39afbdbb1f88bc
tree2c822b1333c2fcb1eaab5298caddf087b849fa76
parenta2fa5252d660fa9d5543bdf36735120a6ce55c0f
Make setSelection() work with missing points.

If the points array is missing points, for instance because the data
handler omitted them, setSelection() will now still properly find
the points that are being selected by looking at the points' idx
property instead of just indexing into the points array.
datahandler/datahandler.js
dygraph.js