We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6eeea4 commit efa8d4bCopy full SHA for efa8d4b
2 files changed
src/transforms/map.js
@@ -32,7 +32,7 @@ export function map(outputs = {}, options = {}) {
32
});
33
return {
34
...basic(options, (data, facets) => {
35
- const Z = valueof(data, z);
+ const Z = valueof(data, isObject(z) ? z.value : z);
36
const X = channels.map(({input}) => valueof(data, input));
37
const MX = channels.map(({setOutput}) => setOutput(new Array(data.length)));
38
for (const facet of facets) {
0 commit comments