From 9344809998db30d21009140a6a9a52f9578080e5 Mon Sep 17 00:00:00 2001 From: Victor Woeltjen Date: Thu, 11 Dec 2014 17:09:08 -0800 Subject: [PATCH] [Plot] Restrict hover coordinates Only show hover coordinates in a stacked plot for the plot which the user is specifically hovering over. WTD-625. --- platform/features/plot/res/templates/plot.html | 5 +++-- platform/features/plot/src/SubPlot.js | 10 +++++++++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/platform/features/plot/res/templates/plot.html b/platform/features/plot/res/templates/plot.html index 2b800c08b6..4f94fde285 100644 --- a/platform/features/plot/res/templates/plot.html +++ b/platform/features/plot/res/templates/plot.html @@ -16,7 +16,7 @@
+ ng-if="subplot.isHovering()"> {{subplot.getHoverCoordinates().join(', ')}}
@@ -46,7 +46,8 @@
+ ng-mouseenter="subplot.isHovering(true); representation.showControls = true;" + ng-mouseleave="subplot.isHovering(false)">