Commit 9773a2d4 by Torkel Ödegaard Committed by GitHub

Merge pull request #14502 from banjeremy/13765-annotation-editor-outside-viewport

remove check on axis.used in flot
parents 3581d619 8d8ef8f9
...@@ -931,13 +931,13 @@ Licensed under the MIT license. ...@@ -931,13 +931,13 @@ Licensed under the MIT license.
var res = {}, i, axis; var res = {}, i, axis;
for (i = 0; i < xaxes.length; ++i) { for (i = 0; i < xaxes.length; ++i) {
axis = xaxes[i]; axis = xaxes[i];
if (axis && axis.used) if (axis)
res["x" + axis.n] = axis.c2p(pos.left); res["x" + axis.n] = axis.c2p(pos.left);
} }
for (i = 0; i < yaxes.length; ++i) { for (i = 0; i < yaxes.length; ++i) {
axis = yaxes[i]; axis = yaxes[i];
if (axis && axis.used) if (axis)
res["y" + axis.n] = axis.c2p(pos.top); res["y" + axis.n] = axis.c2p(pos.top);
} }
......
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