Replies: 1 comment
-
|
The Fix: use Plot's built-in Plot.plot({
marks: [
Plot.line(data, {x: "date", y: "value"}),
Plot.tip(data, Plot.pointerX({x: "date", y: "value"}))
]
})The native If you must keep |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I've used the
addTooltipfunction in a notebook. While in the Notebook directly, data updates as one hovers over different points a the line. However, data becomes static when embedding the notebook.https://observablehq.com/@mkfreeman/plot-tooltip
Beta Was this translation helpful? Give feedback.
All reactions