Type Alias: IsosurfaceTrace
ts
type IsosurfaceTrace = CommonTraceAttributes & object;Isosurfaces of a scalar field on a 3D grid: surfaces where the value is constant, between isomin and isomax, with caps, slices and a space frame, colored by value.
Type Declaration
| Name | Type | Description |
|---|---|---|
autocolorscale? | boolean | Pick the colorscale from the sign of the color domain (Reds for ≥ 0, Blues for ≤ 0, RdBu across 0). Defaults to true unless colorscale is given. |
caps? | IsosurfaceTraceCaps | Caps on the grid's boundary. |
cauto? | boolean | Compute the color domain from the numeric value values. Defaults to false when both cmin and cmax are given. |
cmax? | number | Value mapped to the last colorscale color (with cmin; turns cauto off). |
cmid? | number | With cauto, widen the automatic domain so it is symmetric around this value (diverging data). |
cmin? | number | Value mapped to the first colorscale color (with cmax; turns cauto off). |
coloraxis? | "coloraxis" | `coloraxis${number}` | Share a colorscale and domain with other traces through layout.coloraxis ('coloraxis', 'coloraxis2', …). Overrides this container's colorscale attributes. |
colorbar? | Colorbar | The colorbar of this colorscale (plan E5.3). |
colorscale? | | ColorScale | readonly string[] | readonly readonly (number | string)[][] | Colorscale for numeric value values: a name ('Viridis', 'RdBu', …), a list of colors, or [position, color] stops from 0 to 1. |
flatshading? | boolean | Flat shading: one normal per triangle (the default, as in Plotly: the extracted triangles share no vertices, so smooth shading looks the same). |
isomax? | number | Upper end of the value range of the isosurfaces. Default: the largest value. |
isomin? | number | Lower end of the value range of the isosurfaces. Default: the smallest value. |
lighting? | IsosurfaceTraceLighting | Plotly's lighting model: coefficients of the ambient, diffuse and specular light. With scene.lighting, they scale the scene's lights. |
lightposition? | IsosurfaceTraceLightposition | Position of the light (Plotly's model, without scene.lighting), in clip space: it moves with the view. |
material? | Bar3dTraceMaterial | The material of the surface (Holochart extension). Plotly figures keep the default, plotly. |
reversescale? | boolean | Reverse the colorscale (the lowest value gets the last color). |
scene? | "scene" | `scene${number}` | The 3D scene this trace is drawn in: 'scene' (layout.scene), 'scene2' (layout.scene2), …. |
showscale? | boolean | Show a colorbar for this colorscale (drawn by the colorbar component, plan E5.3). |
slices? | IsosurfaceTraceSlices | Slices through the grid. |
spaceframe? | IsosurfaceTraceSpaceframe | The space frame. |
surface? | IsosurfaceTraceSurface | The isosurfaces. |
text? | PerPoint<string | number> | Text per grid point, shown in hover labels (after the value) and as %{text} in templates. |
type | "isosurface" | Trace type. |
value? | DataColumn | The value at every grid point (numbers): the field whose level surfaces are drawn and which the colorscale maps. |
valuehoverformat? | string | d3 number format of value values in hover labels. Default: the value with hover precision. |
x? | DataColumn | X coordinate of every grid point (numbers, dates or categories): x, y, z and value are flattened columns of a rectilinear grid, one entry per point, the axes nested in any order. |
xhoverformat? | string | d3 number format of x values in hover labels. Default: the scene's x axis format. |
y? | DataColumn | Y coordinate of every grid point (numbers, dates or categories): x, y, z and value are flattened columns of a rectilinear grid, one entry per point, the axes nested in any order. |
yhoverformat? | string | d3 number format of y values in hover labels. Default: the scene's y axis format. |
z? | DataColumn | Z coordinate of every grid point (numbers, dates or categories): x, y, z and value are flattened columns of a rectilinear grid, one entry per point, the axes nested in any order. |
zhoverformat? | string | d3 number format of z values in hover labels. Default: the scene's z axis format. |