Color discrete components of distributions

This commit is contained in:
Sam Nolan 2022-07-13 15:32:28 +10:00
parent b536637c98
commit 0c7ac98aaf

View File

@ -213,6 +213,10 @@ export function buildVegaSpec(
scale: "yscale",
value: 0,
},
fill: {
scale: "color",
field: { parent: "name" },
},
},
},
},
@ -240,6 +244,10 @@ export function buildVegaSpec(
scale: "yscale",
field: "y",
},
fill: {
scale: "color",
field: { parent: "name" },
},
},
},
},