Skip to content

Commit

Permalink
lines
Browse files Browse the repository at this point in the history
  • Loading branch information
Fil authored and mbostock committed Mar 31, 2023
1 parent 9dd52d8 commit 01ae4bc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/marks/density.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,28 @@ import type {Data, MarkOptions, RenderableMark} from "../mark.js";
export interface DensityOptions extends MarkOptions {
/** The horizontal point position, typically bound to the *x* scale. */
x?: ChannelValueSpec;

/** The vertical point position, typically bound to the *y* scale. */
y?: ChannelValueSpec;

/**
* Group points into series and create independent contours for each series.
*/
z?: ChannelValue;

/**
* The **weight** channel, which defaults to 1, specifies the weight of each
* point. Non-positive weights are allowed, making associated points
* repulsive.
*/
weight?: ChannelValue;

/**
* The **bandwidth** option, which defaults to 20, specifies the standard
* deviation of the Gaussian kernel used for estimation in pixels.
*/
bandwidth?: number;

/**
* The **thresholds** option, which defaults to 20, specifies one more than
* the number of contours that will be computed at uniformly-spaced intervals
Expand Down

0 comments on commit 01ae4bc

Please sign in to comment.