We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 384353a commit 4ab7986Copy full SHA for 4ab7986
src/plots/cartesian/graph_interact.js
@@ -776,10 +776,10 @@ function cleanPoint(d, hovermode) {
776
* the background color this is against, used if the trace is
777
* non-opaque, and for the name, which goes outside the box
778
* - container:
779
- * a dom <svg> element - must be big enough to contain the whole
780
- * hover label
+ * a <svg> or <g> element to add the hover label to
781
* - outerContainer:
782
- * TODO: what exactly is container vs outerContainer?
+ * normally a parent of `container`, sets the bounding box to use to
+ * constrain the hover label and determine whether to show it on the left or right
783
*/
784
fx.loneHover = function(hoverItem, opts) {
785
var pointData = {
0 commit comments