Skip to content

Commit 4ab7986

Browse files
committed
fix loneHover comment
1 parent 384353a commit 4ab7986

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/plots/cartesian/graph_interact.js

+3-3
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)