Interface: Hist2dOptions
Defined in: stats/charts.ts:204
Properties
bins?
ts
optional bins?: number | [number, number];Defined in: stats/charts.ts:208
Bin count, or [cols, rows]. Defaults to √n per axis.
colormap?
ts
optional colormap?: ColormapSpec;Defined in: stats/charts.ts:211
domain?
ts
optional domain?: [number, number];Defined in: stats/charts.ts:213
Count range mapped to the colormap. Defaults to [0, max].
name?
ts
optional name?: string;Defined in: stats/charts.ts:216
range?
ts
optional range?: {
x: [number, number];
y: [number, number];
};Defined in: stats/charts.ts:210
Fixed binning range; defaults to the data extent.
x
ts
x: [number, number];y
ts
y: [number, number];renderType?
ts
optional renderType?: RenderType;Defined in: stats/charts.ts:218
smooth?
ts
optional smooth?: boolean;Defined in: stats/charts.ts:215
Interpolate between cells. Default false — a histogram has hard bins.
x
ts
x: ArrayLike<number>;Defined in: stats/charts.ts:205
y
ts
y: ArrayLike<number>;Defined in: stats/charts.ts:206
yAxis?
ts
optional yAxis?: string;Defined in: stats/charts.ts:217