mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
remove check on axis.used in flot #13765
This commit is contained in:
4
public/vendor/flot/jquery.flot.js
vendored
4
public/vendor/flot/jquery.flot.js
vendored
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user