Skip to content

@mk7s/holochart-traces-sci ​

Classes ​

ClassDescription
PolarSubplotA polar subplot laid out (see the module comment).

Interfaces ​

InterfaceDescription
BarpolarTraceMarkerBar style.
ContourTraceContoursContour levels, coloring, labels and constraints.
ContourTraceContoursLabelfontFont of the level labels. Defaults to layout.font, colored like the lines.
ContourTraceLineContour lines.
HeatmapAxisCellsOne axis of the grid.
HeatmapCalcheatmap calcdata.
ImageCalcimage calcdata.
ScatterpolarCalc-
ScatterpolarTraceLineLine style (mode lines). shape and smoothing also shape fills.

Type Aliases ​

Type AliasDescription
BarpolarTraceBars in polar coordinates: annular sectors from base to base + r at angle theta, stacked or overlaid per polar.barmode (wind roses).
BaseHeatmapTraceHeatmap: a grid of values drawn as colored cells (one GPU texture with a colorscale lookup), with optional cell labels.
ColormodelPlotly's image color models.
ContourTraceContour plot: level lines of a grid of values (uneven grids allowed), drawn as filled bands, a smooth heatmap or lines, with level labels along the lines, or constraint contours shading where the values satisfy an inequality.
ContourTraceCalccontour calcdata: the grid of a heatmap plus its contours. z holds the hover values: zFilled, except NaN at gaps drawn as holes (connectgaps: false).
ImageTraceImage: pixel colors (RGB, RGBA or HSL components, or an encoded picture) drawn as one texture on the axes, with pixel hover.
ScatterpolarTraceMarkers, lines, text and filled areas (radar charts) at polar coordinates r, theta on a polar subplot (layout.polar).
TracesSciAny trace of @mk7s/holochart-traces-sci, discriminated on type. Type a partial bundle's figures with it: FigureInput<TracesSci>.

Variables ​

VariableDescription
barpolar-
barpolarAttributes-
contour-
contourAttributesThe contour schema. Common trace attributes (name, opacity, xaxis, …) come from core.
heatmap-
heatmapAttributesThe heatmap schema. Common trace attributes (name, opacity, xaxis, …) come from core.
image-
imageAttributesThe image schema. Common trace attributes (name, opacity, xaxis, …) come from core.
polarAttributesThe polar subplot container family (polar, polar2, …).
polarComponentThe polar axes component: draws polar subplots and runs their drags (see the module comment). sciTraces includes it; register it with the polar traces in partial bundles.
scatterpolar-
scatterpolarAttributes-
sciTracesEvery scientific trace module, for register(...sciTraces).

Released under the MIT License.