Commit 919b9c75 authored by olau@iola.dk's avatar olau@iola.dk

Fixed bug with returning y2 values in the selection event

git-svn-id: https://flot.googlecode.com/svn/trunk@109 1e0a6537-2640-0410-bfb7-f154510ff394
parent 9e7fcc53
...@@ -26,6 +26,8 @@ Bug fixes: ...@@ -26,6 +26,8 @@ Bug fixes:
- Explicitly convert axis min/max to numbers. - Explicitly convert axis min/max to numbers.
- Fixed a bug with drawing marking lines with different colors - Fixed a bug with drawing marking lines with different colors
(reported by Khurram). (reported by Khurram).
- Fixed a bug with returning y2 values in the selection event (fix
by exists, issue 75).
Flot 0.5 Flot 0.5
......
...@@ -1861,7 +1861,7 @@ ...@@ -1861,7 +1861,7 @@
if (axes.yaxis.used) if (axes.yaxis.used)
r.yaxis = { from: axes.yaxis.c2p(y1), to: axes.yaxis.c2p(y2) }; r.yaxis = { from: axes.yaxis.c2p(y1), to: axes.yaxis.c2p(y2) };
if (axes.y2axis.used) if (axes.y2axis.used)
r.yaxis = { from: axes.y2axis.c2p(y1), to: axes.y2axis.c2p(y2) }; r.y2axis = { from: axes.y2axis.c2p(y1), to: axes.y2axis.c2p(y2) };
target.trigger("plotselected", [ r ]); target.trigger("plotselected", [ r ]);
......
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