Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AxisScale

A helper interface to which a scale passed into axis must conform (at a minimum) for axis to use the scale without error.

interface AxisScale <Domain> {
(x: Domain): number | undefined;
bandwidth?(): number;
copy(): this;
domain(): Domain[];
range(): number[];
}

§Type Parameters

§
Domain
[src]

§Call Signatures

§
(x: Domain): number | undefined
[src]

§Methods

§
bandwidth?(): number
[src]
§
copy(): this
[src]
§
domain(): Domain[]
[src]
§
range(): number[]
[src]