Skip to content

Commit 7098bf3

Browse files
mbostockFil
andauthored
fix bollinger reference (#1901)
Co-authored-by: Philippe Rivière <fil@rezo.net>
1 parent 4e79658 commit 7098bf3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/data/api.data.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ function getInterfaceName(name: string, path: string): string {
8585
name = name.toLowerCase();
8686
if (name === "curve auto") name = "curve";
8787
if (name === "plot facet") name = "plot";
88-
if (path.startsWith("marks/")) name += " mark";
88+
if (name === "bollinger window") name = "bollinger map method";
89+
else if (path.startsWith("marks/")) name += " mark";
8990
else if (path.startsWith("transforms/")) name += " transform";
9091
return name;
9192
}

src/marks/bollinger.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type {WindowOptions} from "../transforms/window.js";
44
import type {AreaXOptions, AreaYOptions} from "./area.js";
55
import type {LineXOptions, LineYOptions} from "./line.js";
66

7-
/** Options for the bollinger window transform. */
7+
/** Options for the bollinger map method. */
88
export interface BollingerWindowOptions {
99
/** The number of consecutive values in the window; defaults to 20. */
1010
n?: number;

0 commit comments

Comments
 (0)