Skip to content

Commit def6d40

Browse files
committed
fix missing jsdoc directives
1 parent 0641d6a commit def6d40

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/marks/auto.js

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import {group, groupX, groupY} from "../transforms/group.js";
1313
import {marks} from "../mark.js";
1414
import {ascending} from "d3";
1515

16+
/** @jsdoc auto */
1617
export function auto(data, {x, y, color, size, fx, fy, mark} = {}) {
1718
// Allow x and y and other dimensions to be specified as shorthand field names
1819
// (but note that they can also be specified as a {transform} object such as

src/marks/axis.js

+3
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,13 @@ function anchorFx(options) {
3737
return maybeAnchor(options, ["top", "bottom"]);
3838
}
3939

40+
/** @jsdoc axisY */
4041
export function axisY() {
4142
const [data, options] = maybeData(...arguments);
4243
return axisKy("y", anchorY(options), data, options);
4344
}
4445

46+
/** @jsdoc axisFy */
4547
export function axisFy() {
4648
const [data, options] = maybeData(...arguments);
4749
return axisKy("fy", anchorFy(options), data, options);
@@ -53,6 +55,7 @@ export function axisX() {
5355
return axisKx("x", anchorX(options), data, options);
5456
}
5557

58+
/** @jsdoc axisFx */
5659
export function axisFx() {
5760
const [data, options] = maybeData(...arguments);
5861
return axisKx("fx", anchorFx(options), data, options);

0 commit comments

Comments
 (0)