tested log scale
This commit is contained in:
Родитель
f78bc5d03c
Коммит
5c4235e43a
|
@ -330,8 +330,12 @@ function getJitterSpec(spec) {
|
|||
})
|
||||
}
|
||||
|
||||
encoding.y.scale = {
|
||||
domain: yExtent
|
||||
if (encoding.y.scale) {
|
||||
encoding.y.scale.domain = yExtent
|
||||
} else {
|
||||
encoding.y.scale = {
|
||||
domain: yExtent
|
||||
}
|
||||
}
|
||||
|
||||
encoding.x.scale = {
|
||||
|
|
|
@ -181,8 +181,10 @@
|
|||
let app1 = null;
|
||||
|
||||
d3.json(
|
||||
`${base}/custom-animations-${animationType}-R.json`
|
||||
// `${base}/custom-animations-${animationType}-R.json`
|
||||
'https://raw.githubusercontent.com/microsoft/datamations/scales-transform/sandbox/mutations/mutate-scale-R.json'
|
||||
).then(specs => {
|
||||
window.rawSpecs = JSON.parse(JSON.stringify(specs));
|
||||
app1 = App("app", { specs, frameDur: 3000 });
|
||||
});
|
||||
</script>
|
||||
|
|
Загрузка…
Ссылка в новой задаче