Fix to graph panel, and width=0 bug

This commit is contained in:
Torkel Ödegaard 2015-04-28 06:40:23 +02:00
parent 3044a74a52
commit 48b25bc327

View File

@ -112,7 +112,7 @@ function (angular, $, kbn, moment, _, GraphTooltip) {
} }
if (elem.width() === 0) { if (elem.width() === 0) {
return; return true;
} }
} }
@ -277,7 +277,6 @@ function (angular, $, kbn, moment, _, GraphTooltip) {
if (legendSideLastValue !== null && panel.legend.rightSide !== legendSideLastValue) { if (legendSideLastValue !== null && panel.legend.rightSide !== legendSideLastValue) {
return true; return true;
} }
return false;
} }
function addTimeAxis(options) { function addTimeAxis(options) {