Skip to content

Interface: D3PHistogramOptions ​

Defined in: core/transforms.ts:232

Options of a histogram: the series, the thresholds of the bins, the domain they cover and the name of the series made.

Properties ​

bus? ​

ts
bus?: D3PBus;

Defined in: core/transforms.ts:234

The bus the histogram uses (the global bus by default).


domain? ​

ts
domain?: [number, number];

Defined in: core/transforms.ts:240

The [min, max] the bins cover (the extent of the data by default).


name? ​

ts
name?: string;

Defined in: core/transforms.ts:242

Name of the derived series (default: the input's).


series ​

ts
series: D3PSeries;

Defined in: core/transforms.ts:236

Series whose values (the primary column) are binned.


thresholds? ​

ts
thresholds?: number | number[];

Defined in: core/transforms.ts:238

A number of bins, or the edges of the bins (see d3pHistogram).