Skip to content

Commit 01ae4bc

Browse files
Filmbostock
authored andcommitted
lines
1 parent 9dd52d8 commit 01ae4bc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/marks/density.d.ts

+5
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,28 @@ import type {Data, MarkOptions, RenderableMark} from "../mark.js";
55
export interface DensityOptions extends MarkOptions {
66
/** The horizontal point position, typically bound to the *x* scale. */
77
x?: ChannelValueSpec;
8+
89
/** The vertical point position, typically bound to the *y* scale. */
910
y?: ChannelValueSpec;
11+
1012
/**
1113
* Group points into series and create independent contours for each series.
1214
*/
1315
z?: ChannelValue;
16+
1417
/**
1518
* The **weight** channel, which defaults to 1, specifies the weight of each
1619
* point. Non-positive weights are allowed, making associated points
1720
* repulsive.
1821
*/
1922
weight?: ChannelValue;
23+
2024
/**
2125
* The **bandwidth** option, which defaults to 20, specifies the standard
2226
* deviation of the Gaussian kernel used for estimation in pixels.
2327
*/
2428
bandwidth?: number;
29+
2530
/**
2631
* The **thresholds** option, which defaults to 20, specifies one more than
2732
* the number of contours that will be computed at uniformly-spaced intervals

0 commit comments

Comments
 (0)