Make setSelection() work with missing points.
authorAdam Vartanian <flooey@gmail.com>
Mon, 13 Oct 2014 16:35:36 +0000 (12:35 -0400)
committerAdam Vartanian <flooey@gmail.com>
Mon, 13 Oct 2014 16:35:36 +0000 (12:35 -0400)
commitad7785b8f9a1564b8d18a8ee9a1036936298bb31
tree588e6440d9d747c81a709e536cd65ae10483cfa3
parent4e9b1418813cbafd5ee68a090e3e059b31ce602c
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