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 |
|
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 |
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
All reactions