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 f0e3af2 commit 5b81573Copy full SHA for 5b81573
src/marks/dot.js
@@ -73,10 +73,10 @@ export function dot(data, options) {
73
return new Dot(data, options);
74
}
75
76
-export function dotX(data, {x = identity, ...options} = {}) {
77
- return new Dot(data, {...options, x, y: null});
+export function dotX(data, {x = identity, y = null, ...options} = {}) {
+ return new Dot(data, {...options, x, y});
78
79
80
-export function dotY(data, {y = identity, ...options} = {}) {
81
- return new Dot(data, {...options, y, x: null});
+export function dotY(data, {y = identity, x = null, ...options} = {}) {
+ return new Dot(data, {...options, y, x});
82
0 commit comments