Skip to content

Interface: SurfaceCalc ​

Experimental

What surface calc holds.

Extends ​

Properties ​

PropertyModifierTypeDescriptionInherited from
colorreadonlyFloat64Array<ArrayBufferLike> | nullExperimental The values the colorscale maps, per grid point (row-major): surfacecolor, or the raw z numbers on a z axis that is not linear; null: the (linear) heights.-
gridreadonlySurfaceGrid | nullExperimental-
picker?publicSurfacePickerExperimental Built on the first hover (hover.ts).-
scene?publicSceneLayoutExperimentalSceneCalc.scene
sceneCrossTrace?readonlySceneCrossTraceExperimental A cross-trace step of the trace type (e.g. bar3d stacking, M6 wave 2): run by sceneCrossTraceLayout once per scene and pass, before the scene is laid out, with the scene's entries whose calc carries this same function (in trace order). It may update their sceneExtremes in place; it must be idempotent.SceneCalc.sceneCrossTrace
sceneExtremesreadonlySceneExtremesExperimentalSceneCalc.sceneExtremes
surfacecolorreadonlybooleanExperimental Whether color is surfacecolor (hover shows it as %{surfacecolor}).-

Released under the MIT License.