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

scaleDivergingSymlog

A diverging scale with a symmetric logarithmic transform, analogous to a symlog scale.

The first generic corresponds to the data type of the interpolator return type. The second generic corresponds to the data type of the unknown value.

function scaleDivergingSymlog<Output = number, Unknown = never>(interpolator?: (t: number) => Output): ScaleDiverging<Output, Unknown>;
function scaleDivergingSymlog<Output, Unknown = never>(domain: Iterable<NumberValue>, interpolator: (t: number) => Output): ScaleDiverging<Output, Unknown>;
§
scaleDivergingSymlog<Output = number, Unknown = never>(interpolator?: (t: number) => Output): ScaleDiverging<Output, Unknown>
[src]

A diverging scale with a symmetric logarithmic transform, analogous to a symlog scale.

The first generic corresponds to the data type of the interpolator return type. The second generic corresponds to the data type of the unknown value.

§Type Parameters

§
Output = number
[src]
§
Unknown = never
[src]

§Parameters

§
interpolator?: (t: number) => Output optional
[src]

The scale’s interpolator.

§Return Type

§
ScaleDiverging<Output, Unknown>
[src]
§
scaleDivergingSymlog<Output, Unknown = never>(domain: Iterable<NumberValue>, interpolator: (t: number) => Output): ScaleDiverging<Output, Unknown>
[src]

A diverging scale with a symmetric logarithmic transform, analogous to a symlog scale.

The first generic corresponds to the data type of the interpolator return type. The second generic corresponds to the data type of the unknown value.

§Type Parameters

§
Output
[src]
§
Unknown = never
[src]

§Parameters

§
domain: Iterable<NumberValue>
[src]

Array of three numeric domain values.

§
interpolator: (t: number) => Output
[src]

The scale’s interpolator.

§Return Type

§
ScaleDiverging<Output, Unknown>
[src]