Show x coordinate when drawing discrete distributions
This commit is contained in:
parent
2c903a335e
commit
03edf60663
|
@ -223,7 +223,7 @@ export function buildVegaSpec(
|
||||||
},
|
},
|
||||||
size: [{ value: 100 }],
|
size: [{ value: 100 }],
|
||||||
tooltip: {
|
tooltip: {
|
||||||
signal: "datum.y",
|
signal: "{ probability: datum.y, value: datum.x }",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
update: {
|
update: {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user