Commit d4c5f444 authored by olau@iola.dk's avatar olau@iola.dk

Fixed bug in findNearbyItem, patch by zollman (issue 190)


git-svn-id: https://flot.googlecode.com/svn/trunk@204 1e0a6537-2640-0410-bfb7-f154510ff394
parent 2b9de829
......@@ -154,6 +154,7 @@ Bug fixes:
smarter.
- Fix for uneven axis margins (report and patch by Paul Kienzle) and
snapping to ticks (concurrent report and patch by lifthrasiir).
- Fixed bug with slicing in findNearbyItems (patch by zollman).
Flot 0.5
--------
......
......@@ -1848,6 +1848,7 @@
if (item) {
i = item[0];
j = item[1];
ps = series[i].datapoints.pointsize;
return { datapoint: series[i].datapoints.points.slice(j * ps, (j + 1) * ps),
dataIndex: j,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment