We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b58772c + 5baaad0 commit 730aa57Copy full SHA for 730aa57
1 file changed
src/interactions/brush.js
@@ -38,6 +38,7 @@ export class Brush extends Mark {
38
this._sync = sync;
39
}
40
render(index, scales, values, dimensions, context) {
41
+ if (typeof document === "undefined") return null;
42
const {x, y, fx, fy} = scales;
43
const X = values.channels?.x?.value;
44
const Y = values.channels?.y?.value;
0 commit comments