Plot.plot({
marks: [
Plot.lineY(aapl, { x: "Date", y: "Close" }),
Plot.ruleY(aapl, Plot.pointerX({ y: "Close" })),
Plot.crosshairX(aapl, { x: "Date", y: "Close" })
]
})
Given the above, I would expect ruleY to behave like the crosshairX mark ruleY, but it doesn’t. Instead it behaves the same as pointerY/crosshairY. What am I doing wrong? Ultimately I am trying to replicate the crosshair mark because I need custom label formatting and that isn’t currently supported. If there is an example of that somewhere please let me know.