Skip to content

Interface: D3PAxisDomainOptions ​

Defined in: core/domain.ts:25

Options of a domain: the values it covers, its props and the bus.

Properties ​

bus? ​

ts
bus?: D3PBus;

Defined in: core/domain.ts:27

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


domain? ​

ts
domain?: Iterable<D3PDomainValue, any, any>;

Defined in: core/domain.ts:31

The values it covers at first: [min, max] for numbers and dates, the list of categories for a band axis.


props? ​

ts
props?: object;

Defined in: core/domain.ts:33

Initial props: the constraints on the ends of the domain.

rangeMaxConstraints? ​

ts
rangeMaxConstraints?: object;

Bounds of the second domain element.

rangeMaxConstraints.max? ​
ts
max?: number;

The largest value a domain can reach.

rangeMaxConstraints.min? ​
ts
min?: number;

The smallest value a domain can reach.

rangeMinConstraints? ​

ts
rangeMinConstraints?: object;

Bounds of the first domain element.

rangeMinConstraints.max? ​
ts
max?: number;

The largest value a domain can reach.

rangeMinConstraints.min? ​
ts
min?: number;

The smallest value a domain can reach.