Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2c81b72

Browse files
committedSep 15, 2016
[Frontend] Styling for TOI element in plots
Fixes #933 Fixes #1193 WIP, adding TOI to plot view.
1 parent 9e2debf commit 2c81b72

File tree

1 file changed

+10
-0
lines changed
  • platform/features/plot/res/templates

1 file changed

+10
-0
lines changed
 

‎platform/features/plot/res/templates/plot.html

+10
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,16 @@
8383
ng-mouseenter="subplot.isHovering(true);"
8484
ng-mouseleave="subplot.isHovering(false)"
8585
ng-class="{ loading: plot.isRequestPending() }">
86+
87+
<!-- TOI element -->
88+
<div class="l-toi-holder">
89+
<!-- Need text vals at top and bottom, plus vertical line -->
90+
<div class="l-toi-val">
91+
<span class="val">{{subplot.getHoverCoordinates()}}</span>
92+
<a class="s-icon-button icon-x"></a>
93+
</div>
94+
</div>
95+
8696
<!-- Out-of-bounds data indicators -->
8797
<!-- ng-show is temporarily hard-coded in next element -->
8898
<div ng-show="false" class="l-oob-data l-oob-data-up"></div>

0 commit comments

Comments
 (0)
Please sign in to comment.