Skip to content

Function: sceneScales() ​

ts
function sceneScales(fullLayout, id): object;

Experimental

The data ↔ linear scales of scene id's axes for calc (d2l, d2lArray), from the scene defaults (type, categories); cached per full layout. Their ranges are not the axis ranges.

Parameters ​

ParameterType
fullLayoutReadonly<Record<string, unknown>>
idstring

Returns ​

object

NameType
xScale
yScale
zScale

Released under the MIT License.