don't let rule-line intercept hover events

This commit is contained in:
Conor Barnes 2022-08-29 16:00:51 -03:00
parent e88d93ac9e
commit 7c00897833

View File

@ -138,35 +138,7 @@ export function buildVegaSpec(
},
],
marks: [
{
name: "sample_distributions",
type: "group",
from: {
facet: {
name: "distribution_facet",
data: "domain",
groupby: ["name"],
},
},
marks: [
{
name: "samples",
type: "rect",
from: { data: "distribution_facet" },
encode: {
enter: {
x: { scale: "xscale", field: "x" },
width: { value: 0.5 },
y: { value: 25, offset: { signal: "height" } },
height: { value: 5 },
fill: { value: "steelblue" },
fillOpacity: { value: 0.8 },
},
},
},
],
},
{
name: "all_distributions",
type: "group",
@ -323,6 +295,7 @@ export function buildVegaSpec(
},
{
type: "rule",
interactive: false,
encode: {
enter: {
x: { value: 0 },