This message was deleted.
# help
s
This message was deleted.
a
So the absolute dumbest possible example we have is here: https://observablehq.com/d/afe25d6b5afecc13 You can see that the
ruleX
actually does work, but only either for the top facet or the bottom facet—never for both. It would be very handy to have it apply to both!
f
Is it that you'd like to draw the rule to cover the whole height of the chart?
m
A bit of a hack… but you can “cheese” it with a large negative inset (
inset: -100
) that makes the rule tall enough to cover all facets.
I think it’s a bug that the pointer transform doesn’t work when applied to a non-faceted mark in a faceted plot. I want it to highlight the rule across facets. I filed a bug: https://github.com/observablehq/plot/issues/1677
a
@Mike Bostock great! let me know if you’d like help or something fixing, happy to dig in here