Commit ba3bb579 by Mitsuhiro Tanda

suppress all graph redrawing when shared tooltip is enabled

parent 6911572f
......@@ -82,14 +82,17 @@ function ($) {
};
elem.mouseleave(function () {
if (scope.panel.tooltip.shared || dashboard.sharedCrosshair) {
if (scope.panel.tooltip.shared) {
var plot = elem.data().plot;
if (plot) {
$tooltip.detach();
plot.unhighlight();
scope.appEvent('clearCrosshair');
}
}
if (dashboard.sharedCrosshair) {
scope.appEvent('clearCrosshair');
}
});
elem.bind("plothover", function (event, pos, item) {
......
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