Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4ab7986

Browse filesBrowse files
committed
fix loneHover comment
1 parent 384353a commit 4ab7986
Copy full SHA for 4ab7986

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed

‎src/plots/cartesian/graph_interact.js

Copy file name to clipboardExpand all lines: src/plots/cartesian/graph_interact.js
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -776,10 +776,10 @@ function cleanPoint(d, hovermode) {
776776
* the background color this is against, used if the trace is
777777
* non-opaque, and for the name, which goes outside the box
778778
* - container:
779-
* a dom <svg> element - must be big enough to contain the whole
780-
* hover label
779+
* a <svg> or <g> element to add the hover label to
781780
* - outerContainer:
782-
* TODO: what exactly is container vs outerContainer?
781+
* normally a parent of `container`, sets the bounding box to use to
782+
* constrain the hover label and determine whether to show it on the left or right
783783
*/
784784
fx.loneHover = function(hoverItem, opts) {
785785
var pointData = {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.