ScaleOptions
Defined in: utils.ts:38
Options for get_scales.
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
T | Point |
Properties
Section titled “Properties”keep_aspect_ratio?
Section titled “keep_aspect_ratio?”optional keep_aspect_ratio?: boolean;Defined in: utils.ts:40
Pads the shorter axis so the data’s aspect ratio survives the mapping.
round?
Section titled “round?”optional round?: boolean;Defined in: utils.ts:42
Rounds outputs to integers, as grid-cell indices require.
optional x?: Accessor<T>;Defined in: utils.ts:44
Reads the x component of a datum.
optional y?: Accessor<T>;Defined in: utils.ts:46
Reads the y component of a datum.