Skip to content

Commit

Permalink
fix bollinger reference (observablehq#1901)
Browse files Browse the repository at this point in the history
Co-authored-by: Philippe Rivière <[email protected]>
  • Loading branch information
mbostock and Fil authored Oct 23, 2023
1 parent 4e79658 commit 7098bf3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/data/api.data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ function getInterfaceName(name: string, path: string): string {
name = name.toLowerCase();
if (name === "curve auto") name = "curve";
if (name === "plot facet") name = "plot";
if (path.startsWith("marks/")) name += " mark";
if (name === "bollinger window") name = "bollinger map method";
else if (path.startsWith("marks/")) name += " mark";
else if (path.startsWith("transforms/")) name += " transform";
return name;
}
Expand Down
2 changes: 1 addition & 1 deletion src/marks/bollinger.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type {WindowOptions} from "../transforms/window.js";
import type {AreaXOptions, AreaYOptions} from "./area.js";
import type {LineXOptions, LineYOptions} from "./line.js";

/** Options for the bollinger window transform. */
/** Options for the bollinger map method. */
export interface BollingerWindowOptions {
/** The number of consecutive values in the window; defaults to 20. */
n?: number;
Expand Down

0 comments on commit 7098bf3

Please sign in to comment.