I have the following code
which renders fine but it seems to give a mouseover on the dashed line, how do exclude this? Notably it seems to pull the series label from the blue line, not sure why.
You can turn off the tooltip on the rule mark by setting tooltip
to null
in the mark properties:
"mark": {"type": "rule", "tooltip": null}
See the full chart here.