ReferenceSPQL

Visualization Components

Look up the components that SPQL visualization functions build, with their properties and children.

A visualization component describes one view, chart, spatial primitive, or layout that Spiral Studio renders. The constructors on the visualization page build components from column values, and layout components nest other components as children. Each component has a Type ID in the spql.viz namespace and a set of properties that control what it shows and how it looks.

Components are presentation values, not data types: store the data in a data type column and build the component in the query that displays it.

Shared Properties

Most components accept the same identity, appearance, and layout properties. They are listed once here; each component below names the ones it accepts.

NameTypeDefaultDescription
idutf8Stable component identity.
labelutf8Display name of this component.
visiblebooltrueShow this component.
backgroundutf8Panel background color.
heightf64Preferred panel height. From 16 to 1600. Unit: px.
growf641Share of remaining Column height; zero uses natural content height. From 0 to 100.
min_heightf640Minimum panel height before its containing Column scrolls. From 0 to 1600. Unit: px.
arrowsvalueArrows.
boxesvalueBoxes.
linesvalueLines.
stripsvalueStrips.

Components

Type IDStabilitySummary
spql.viz.Arrows2DexperimentalTwo-dimensional origin and direction vectors.
spql.viz.Arrows3DexperimentalThree-dimensional origin and direction vectors.
spql.viz.AudioViewexperimentalAudio visualization component.
spql.viz.BarChartViewexperimentalCategorical values compared across named series.
spql.viz.BarSeriesexperimentalOne named series of categorical numeric values.
spql.viz.BindingexperimentalBinding for interactive visualization.
spql.viz.Boxes2DexperimentalAxis-aligned two-dimensional boxes.
spql.viz.Boxes3DexperimentalAxis-aligned three-dimensional boxes.
spql.viz.ColumnexperimentalVertical layout component.
spql.viz.DisclosureexperimentalCollapsible detail layout component.
spql.viz.DistributionSeriesexperimentalOne named numeric distribution series.
spql.viz.DistributionViewexperimentalNumeric distributions compared across named series.
spql.viz.GridexperimentalGrid layout component.
spql.viz.Heatmap2DexperimentalAligned scalar heatmaps compared across named panels.
spql.viz.HeatmapPanelexperimentalOne named dense scalar heatmap panel.
spql.viz.HistogramexperimentalDistribution histogram.
spql.viz.ImageViewexperimentalImage visualization component backed by a blob source.
spql.viz.InspectorexperimentalStructured value inspector fallback.
spql.viz.JsonViewexperimentalJSON text visualization component.
spql.viz.LineStrips2DexperimentalConnected two-dimensional line-strip data.
spql.viz.LineStrips3DexperimentalConnected three-dimensional line-strip data.
spql.viz.MarkdownViewexperimentalMarkdown text visualization component.
spql.viz.Model3Dexperimental3D model instance with an asset source and optional prepared poses.
spql.viz.ParameterBindingexperimentalParameterBinding for interactive visualization.
spql.viz.PlotViewexperimentalPlot visualization component.
spql.viz.Points2DexperimentalTwo-dimensional point data.
spql.viz.Points3DexperimentalThree-dimensional point data.
spql.viz.RowexperimentalHorizontal layout component.
spql.viz.Scene2DViewexperimentalTwo-dimensional scene of typed media and geometry layers.
spql.viz.Scene3DViewexperimental3D scene visualization component.
spql.viz.SlotexperimentalSlot for interactive visualization.
spql.viz.StackexperimentalCompact stack of visualization children.
spql.viz.StateexperimentalState for interactive visualization.
spql.viz.SummaryexperimentalLabeled summary values prepared by a query-backed visualization.
spql.viz.SurfaceexperimentalSurface for interactive visualization.
spql.viz.TableViewexperimentalTable visualization component.
spql.viz.TabsexperimentalTabbed layout component.
spql.viz.TextLogexperimentalStructured text log entries.
spql.viz.TextViewexperimentalPlain text visualization component.
spql.viz.TimeCursorexperimentalTimeCursor for interactive visualization.
spql.viz.TimeDomainexperimentalTimeDomain for interactive visualization.
spql.viz.TimeRangeexperimentalTimeRange for interactive visualization.
spql.viz.TimeSeriesViewexperimentalValues plotted against a time-like axis.
spql.viz.TimelineexperimentalTimeline visualization component.
spql.viz.TopListSeriesexperimentalOne named series of categorical numeric values in a top list.
spql.viz.TopListViewexperimentalRanked categorical values displayed as a compact ordered list.
spql.viz.VideoViewexperimentalVideo visualization component.

spql.viz.Arrows2D

Two-dimensional origin and direction vectors.

  • Stability: experimental
  • Constructor: spql.viz.arrows_2d
  • Shared properties: id, label, visible, background, height, grow, min_height, arrows, boxes, lines, strips

Properties

NameTypeDefaultDescription
time_nsvalueOrdered exact timestamps; equal timestamps belong to one geometry frame.
end_nsvalueOptional exclusive frame end; the next frame otherwise replaces it.

spql.viz.Arrows3D

Three-dimensional origin and direction vectors.

  • Stability: experimental
  • Constructor: spql.viz.arrows_3d
  • Shared properties: id, label, visible, background, height, grow, min_height, arrows, boxes, lines, strips

Properties

NameTypeDefaultDescription
time_nsvalueOrdered exact timestamps; equal timestamps belong to one geometry frame.
end_nsvalueOptional exclusive frame end; the next frame otherwise replaces it.
pointsvaluePoints.
positionsvaluePositions.

spql.viz.AudioView

Audio visualization component.

  • Stability: experimental
  • Constructor: spql.viz.audio_view
  • Shared properties: id, label, visible, background, height, grow, min_height

Properties

NameTypeDefaultDescription
srcvalueEncoded media source.
sourcevalueTyped media source.
mcapvalueExact MCAP source reference.
timeutf8Shared cursor state name.
time_origin_nsutf8Exact nanosecond origin of the clip.
fitutf8containImage fitting behavior. One of contain, cover.
mutedbooltrueMute audio.
codecvalueCodec.
frame_ratevalueFrame rate.
framingvalueFraming.
imagesvalueImages.
packetsvaluePackets.
postervaluePoster.
timestamps_nsvalueTimestamps ns.
titlevalueTitle.

spql.viz.BarChartView

Categorical values compared across named series.

  • Stability: experimental
  • Constructor: spql.viz.bar_chart
  • Child slots: series
  • Shared properties: id, label, visible, background, height, grow, min_height

Properties

NameTypeDefaultDescription
x_labelutf8Horizontal axis label.
y_labelutf8Vertical axis label.
x_minf64Fixed lower horizontal bound.
x_maxf64Fixed upper horizontal bound.
y_minf64Fixed lower vertical bound.
y_maxf64Fixed upper vertical bound.
seriesvalueNamed bar series.
displayutf8groupedLay series out side by side or stack them. One of grouped, stacked.
value_modeutf8absoluteShow absolute values or normalize each series to percentages. One of absolute, relative.
bar_widthf6410Maximum bar width, independent of category spacing. From 1 to 24. Unit: px.
sortutf8value_descCategory ordering. One of value_desc, value_asc, category_asc, category_desc.

spql.viz.BarSeries

One named series of categorical numeric values.

  • Stability: experimental
  • Constructor: spql.viz.bar_series
  • Shared properties: id, label, visible, background, height, grow, min_height

Properties

NameTypeDefaultDescription
colorutf8Uniform mark color.
categoryvalueCategory labels.
valuevalueNumeric values aligned with the categories.
totalvalueSum across every category.

spql.viz.Binding

Binding for interactive visualization.

  • Stability: experimental
  • Constructor: spql.viz.bind

Properties

NameTypeDefaultDescription
stateutf8Identity of the state read by this property. Required.

spql.viz.Boxes2D

Axis-aligned two-dimensional boxes.

  • Stability: experimental
  • Constructor: spql.viz.boxes_2d
  • Shared properties: id, label, visible, background, height, grow, min_height, arrows, boxes, lines, strips

Properties

NameTypeDefaultDescription
time_nsvalueOrdered exact timestamps; equal timestamps belong to one geometry frame.
end_nsvalueOptional exclusive frame end; the next frame otherwise replaces it.

spql.viz.Boxes3D

Axis-aligned three-dimensional boxes.

  • Stability: experimental
  • Constructor: spql.viz.boxes_3d
  • Shared properties: id, label, visible, background, height, grow, min_height, arrows, boxes, lines, strips

Properties

NameTypeDefaultDescription
time_nsvalueOrdered exact timestamps; equal timestamps belong to one geometry frame.
end_nsvalueOptional exclusive frame end; the next frame otherwise replaces it.
pointsvaluePoints.
positionsvaluePositions.

spql.viz.Column

Vertical layout component.

  • Stability: experimental
  • Constructor: spql.viz.column
  • Child slots: children
  • Shared properties: id, label, visible, background, height, grow, min_height

Properties

NameTypeDefaultDescription
gapf644Space between panels. From 0 to 64. Unit: px.

spql.viz.Disclosure

Collapsible detail layout component.

  • Stability: experimental
  • Constructor: spql.viz.disclosure
  • Child slots: children
  • Shared properties: id, label, visible, background, height, grow, min_height

Properties

NameTypeDefaultDescription
gapf644Space between panels. From 0 to 64. Unit: px.
openbooltrueExpand this section.

spql.viz.DistributionSeries

One named numeric distribution series.

  • Stability: experimental
  • Constructor: spql.viz.distribution_series
  • Shared properties: id, label, visible, background, height, grow, min_height

Properties

NameTypeDefaultDescription
colorutf8Uniform mark color.
xvalueBin centers or reference quantiles.
valuevalueProbability values or candidate quantiles.

spql.viz.DistributionView

Numeric distributions compared across named series.

  • Stability: experimental
  • Constructor: spql.viz.distribution
  • Child slots: series
  • Shared properties: id, label, visible, background, height, grow, min_height

Properties

NameTypeDefaultDescription
x_labelutf8Horizontal axis label.
y_labelutf8Vertical axis label.
x_minf64Fixed lower horizontal bound.
x_maxf64Fixed upper horizontal bound.
y_minf64Fixed lower vertical bound.
y_maxf64Fixed upper vertical bound.
seriesvalueNamed distribution series.
modeutf8Distribution coordinates represented by the series. One of density, cumulative, qq.

spql.viz.Grid

Grid layout component.

  • Stability: experimental
  • Constructor: spql.viz.grid
  • Child slots: children
  • Shared properties: id, label, visible, background, height, grow, min_height

Properties

NameTypeDefaultDescription
gapf644Space between panels. From 0 to 64. Unit: px.
weightsvalue[1,1]Relative pane sizes.
columnsf642Number of grid columns. From 1 to 8.

spql.viz.Heatmap2D

Aligned scalar heatmaps compared across named panels.

  • Stability: experimental
  • Constructor: spql.viz.heatmap_2d
  • Child slots: panels
  • Shared properties: id, label, visible, background, height, grow, min_height

Properties

NameTypeDefaultDescription
x_labelutf8Horizontal axis label.
y_labelutf8Vertical axis label.
x_minf64Fixed lower horizontal bound.
x_maxf64Fixed upper horizontal bound.
y_minf64Fixed lower vertical bound.
y_maxf64Fixed upper vertical bound.
comparison_viewutf8side_by_sidePopulation comparison display. One of side_by_side, difference.
panelsvalueNamed heatmap panels on shared axes and a shared color domain.
value_labelutf8Meaning of each cell value.

spql.viz.HeatmapPanel

One named dense scalar heatmap panel.

  • Stability: experimental
  • Constructor: spql.viz.heatmap_panel
  • Shared properties: id, label, visible, background, height, grow, min_height

Properties

NameTypeDefaultDescription
colorutf8Uniform mark color.
xvalueHorizontal coordinates aligned with the cell values.
yvalueVertical coordinates aligned with the cell values.
valuevalueScalar cell values.

spql.viz.Histogram

Distribution histogram.

  • Stability: experimental
  • Constructor: spql.viz.histogram
  • Shared properties: id, label, visible, background, height, grow, min_height

Properties

NameTypeDefaultDescription
x_labelutf8Horizontal axis label.
y_labelutf8Vertical axis label.
x_minf64Fixed lower horizontal bound.
x_maxf64Fixed upper horizontal bound.
y_minf64Fixed lower vertical bound.
y_maxf64Fixed upper vertical bound.
colorutf8Uniform mark color.
datavalueData.
matrixvalueMatrix.
valuesvalueValues.

spql.viz.ImageView

Image visualization component backed by a blob source.

  • Stability: experimental
  • Constructor: spql.viz.image_view
  • Shared properties: id, label, visible, background, height, grow, min_height

Properties

NameTypeDefaultDescription
altvalueAlt.
sourcevalueSource.
srcvalueSrc.

spql.viz.Inspector

Structured value inspector fallback.

  • Stability: experimental
  • Constructor: spql.viz.inspector
  • Shared properties: id, label, visible, background, height, grow, min_height

spql.viz.JsonView

JSON text visualization component.

  • Stability: experimental
  • Constructor: spql.viz.json_view
  • Shared properties: id, label, visible, background, height, grow, min_height

spql.viz.LineStrips2D

Connected two-dimensional line-strip data.

  • Stability: experimental
  • Constructor: spql.viz.line_strips_2d
  • Shared properties: id, label, visible, background, height, grow, min_height, arrows, boxes, lines, strips

Properties

NameTypeDefaultDescription
time_nsvalueOrdered exact timestamps; equal timestamps belong to one geometry frame.
end_nsvalueOptional exclusive frame end; the next frame otherwise replaces it.

spql.viz.LineStrips3D

Connected three-dimensional line-strip data.

  • Stability: experimental
  • Constructor: spql.viz.line_strips_3d
  • Shared properties: id, label, visible, background, height, grow, min_height, arrows, boxes, lines, strips

Properties

NameTypeDefaultDescription
time_nsvalueOrdered exact timestamps; equal timestamps belong to one geometry frame.
end_nsvalueOptional exclusive frame end; the next frame otherwise replaces it.
pointsvaluePoints.
positionsvaluePositions.

spql.viz.MarkdownView

Markdown text visualization component.

  • Stability: experimental
  • Constructor: spql.viz.markdown_view
  • Shared properties: id, label, visible, background, height, grow, min_height

spql.viz.Model3D

3D model instance with an asset source and optional prepared poses.

  • Stability: experimental
  • Constructor: spql.viz.model_3d
  • Shared properties: id, label, visible, background, height, grow, min_height

Properties

NameTypeDefaultDescription
sourcevalueModel Blob: a ZIP bundle or a standalone STL/OBJ asset.
entry_pointutf8Asset path inside a ZIP bundle; omitted for standalone STL/OBJ assets.
jointsvaluePrepared joint names and values, or an ordered pose column.
nodesvalueNamed parent-relative node transforms, or an ordered transform column.
time_nsvalueExact timestamps for the prepared pose column.
xyzvalueInstance translation in scene coordinates.
rpyvalueInstance roll, pitch, and yaw in radians.

spql.viz.ParameterBinding

ParameterBinding for interactive visualization.

  • Stability: experimental
  • Constructor: spql.viz.parameter

Properties

NameTypeDefaultDescription
ordinalf64One-based parameter ordinal in the host SQL statement. Required.
stateutf8State identity supplying the parameter. Required.
fieldutf8Optional field within the state value.

spql.viz.PlotView

Plot visualization component.

  • Stability: experimental
  • Constructor: spql.viz.plot_view
  • Shared properties: id, label, visible, background, height, grow

Properties

NameTypeDefaultDescription
min_heightf64120Minimum usable chart height before its containing Column scrolls. From 0 to 1600. Unit: px.
x_labelutf8Horizontal axis label.
y_labelutf8Vertical axis label.
x_minf64Fixed lower horizontal bound.
x_maxf64Fixed upper horizontal bound.
y_minf64Fixed lower vertical bound.
y_maxf64Fixed upper vertical bound.
line_widthf641Width of plotted lines. From 0.5 to 10. Unit: px.
colorutf8Uniform series color.
seriesvalueNamed time series.
samplesvalueExact timestamped samples.
timeutf8Shared cursor state name.
viewportutf8Shared viewport state name.
comparisonutf8Comparison cursor state name.
selectionutf8Shared selection state name.
time_origin_nsutf8Exact nanosecond origin for relative plot coordinates.
labelsvalueLabels.
playback_cursorvaluePlayback cursor.

spql.viz.Points2D

Two-dimensional point data.

  • Stability: experimental
  • Constructor: spql.viz.points_2d
  • Shared properties: id, label, visible, background, height, grow, min_height, arrows, boxes, lines, strips

Properties

NameTypeDefaultDescription
time_nsvalueOrdered exact timestamps; equal timestamps belong to one geometry frame.
end_nsvalueOptional exclusive frame end; the next frame otherwise replaces it.
x_labelutf8Horizontal axis label.
y_labelutf8Vertical axis label.
x_minf64Fixed lower horizontal bound.
x_maxf64Fixed upper horizontal bound.
y_minf64Fixed lower vertical bound.
y_maxf64Fixed upper vertical bound.
colorutf8Uniform mark color.

spql.viz.Points3D

Three-dimensional point data.

  • Stability: experimental
  • Constructor: spql.viz.points_3d
  • Shared properties: id, label, visible, background, height, grow, min_height, arrows, boxes, lines, strips

Properties

NameTypeDefaultDescription
time_nsvalueOrdered exact timestamps; equal timestamps belong to one geometry frame.
end_nsvalueOptional exclusive frame end; the next frame otherwise replaces it.
pointsvaluePoints.
positionsvaluePositions.

spql.viz.Row

Horizontal layout component.

  • Stability: experimental
  • Constructor: spql.viz.row
  • Child slots: children
  • Shared properties: id, label, visible, background, height, grow, min_height

Properties

NameTypeDefaultDescription
gapf644Space between panels. From 0 to 64. Unit: px.
weightsvalue[1,1]Relative pane sizes.
resizablebooltrueAllow resizing panes.

spql.viz.Scene2DView

Two-dimensional scene of typed media and geometry layers.

  • Stability: experimental
  • Constructor: spql.viz.scene_2d
  • Child slots: children
  • Shared properties: id, label, visible, height, grow, min_height, arrows, boxes, lines, strips

Properties

NameTypeDefaultDescription
backgroundutf8Background color of the scene.
gapf644Space between panels. From 0 to 64. Unit: px.
fitutf8containFit media inside the viewport or cover it. One of contain, cover.

spql.viz.Scene3DView

3D scene visualization component.

  • Stability: experimental
  • Constructor: spql.viz.scene_3d
  • Child slots: children
  • Shared properties: id, label, visible, background, height, grow, min_height, arrows, boxes, lines, strips

Properties

NameTypeDefaultDescription
gapf644Space between panels. From 0 to 64. Unit: px.
up_axisutf8Scene up axis: y or z.
gridboolShow the ground grid.
axesboolShow coordinate axes.
pointsvaluePoints.
positionsvaluePositions.

spql.viz.Slot

Slot for interactive visualization.

  • Stability: experimental
  • Constructor: spql.viz.slot
  • Shared properties: id, label, visible, background, height, grow, min_height

Properties

NameTypeDefaultDescription
messageutf8Empty panePlaceholder message.

spql.viz.Stack

Compact stack of visualization children.

  • Stability: experimental
  • Child slots: children
  • Shared properties: id, label, visible, background, height, grow, min_height

Properties

NameTypeDefaultDescription
gapf644Space between panels. From 0 to 64. Unit: px.

spql.viz.State

State for interactive visualization.

  • Stability: experimental
  • Constructor: spql.viz.state

Properties

NameTypeDefaultDescription
idutf8Unique state identity. Required.
initialvalueInitial state value; its dtype defines the state shape. Required.
persistenceutf8Use user-view to retain this state in saved settings.

spql.viz.Summary

Labeled summary values prepared by a query-backed visualization.

  • Stability: experimental
  • Shared properties: id, label, visible, background, height, grow, min_height

Properties

NameTypeDefaultDescription
colorutf8Uniform mark color.
entriesvalueSummary labels, formatted values, and optional details.

spql.viz.Surface

Surface for interactive visualization.

  • Stability: experimental
  • Constructor: spql.viz.surface
  • Child slots: content
  • Shared properties: id, label, visible, background, height, grow, min_height

Properties

NameTypeDefaultDescription
contentvalueNested visualization content. Required.
statevalueNamed state declarations.
instance_keyvalueStable result instance key.
parameter_bindingsvalueState to SQL parameter mappings.

spql.viz.TableView

Table visualization component.

  • Stability: experimental
  • Constructor: spql.viz.table_view
  • Shared properties: id, label, visible, background, height, grow, min_height

spql.viz.Tabs

Tabbed layout component.

  • Stability: experimental
  • Constructor: spql.viz.tabs
  • Child slots: children
  • Shared properties: id, label, visible, background, height, grow, min_height

Properties

NameTypeDefaultDescription
gapf644Space between panels. From 0 to 64. Unit: px.
activef640Selected tab index, starting at zero. At least 0.

spql.viz.TextLog

Structured text log entries.

  • Stability: experimental
  • Constructor: spql.viz.text_log
  • Shared properties: id, label, visible, background, height, grow, min_height

Properties

NameTypeDefaultDescription
entriesvalueEntries.
rowsvalueRows.

spql.viz.TextView

Plain text visualization component.

  • Stability: experimental
  • Constructor: spql.viz.text_view
  • Shared properties: id, label, visible, background, height, min_height

Properties

NameTypeDefaultDescription
growf640Share of remaining Column height; zero uses natural text height. From 0 to 100.

spql.viz.TimeCursor

TimeCursor for interactive visualization.

  • Stability: experimental
  • Constructor: spql.viz.time_cursor

Properties

NameTypeDefaultDescription
time_nsutf8Exact cursor position in decimal nanoseconds. Required.

spql.viz.TimeDomain

TimeDomain for interactive visualization.

  • Stability: experimental
  • Constructor: spql.viz.time_domain

Properties

NameTypeDefaultDescription
start_nsutf8Inclusive domain start as exact decimal nanoseconds. Required.
end_nsutf8Exclusive domain end as exact decimal nanoseconds. Required.

spql.viz.TimeRange

TimeRange for interactive visualization.

  • Stability: experimental
  • Constructor: spql.viz.time_range

Properties

NameTypeDefaultDescription
start_nsutf8Inclusive range start as exact decimal nanoseconds. Required.
end_nsutf8Exclusive range end as exact decimal nanoseconds. Required.

spql.viz.TimeSeriesView

Values plotted against a time-like axis.

  • Stability: experimental
  • Constructor: spql.viz.time_series
  • Shared properties: id, label, visible, background, height, grow

Properties

NameTypeDefaultDescription
min_heightf64120Minimum usable chart height before its containing Column scrolls. From 0 to 1600. Unit: px.
x_labelutf8Horizontal axis label.
y_labelutf8Vertical axis label.
x_minf64Fixed lower horizontal bound.
x_maxf64Fixed upper horizontal bound.
y_minf64Fixed lower vertical bound.
y_maxf64Fixed upper vertical bound.
line_widthf641Width of plotted lines. From 0.5 to 10. Unit: px.
colorutf8Uniform series color.
seriesvalueNamed time series.
samplesvalueExact timestamped samples.
timeutf8Shared cursor state name.
viewportutf8Shared viewport state name.
comparisonutf8Comparison cursor state name.
selectionutf8Shared selection state name.
time_origin_nsutf8Exact nanosecond origin for relative plot coordinates.
labelsvalueLabels.
playback_cursorvaluePlayback cursor.

spql.viz.Timeline

Timeline visualization component.

  • Stability: experimental
  • Constructor: spql.viz.timeline
  • Shared properties: id, label, visible, background, height, grow

Properties

NameTypeDefaultDescription
min_heightf64120Minimum usable chart height before its containing Column scrolls. From 0 to 1600. Unit: px.
x_labelutf8Horizontal axis label.
y_labelutf8Vertical axis label.
x_minf64Fixed lower horizontal bound.
x_maxf64Fixed upper horizontal bound.
y_minf64Fixed lower vertical bound.
y_maxf64Fixed upper vertical bound.
line_widthf641Width of plotted lines. From 0.5 to 10. Unit: px.
colorutf8Uniform series color.
seriesvalueNamed time series.
samplesvalueExact timestamped samples.
timeutf8Shared cursor state name.
viewportutf8Shared viewport state name.
comparisonutf8Comparison cursor state name.
selectionutf8Shared selection state name.
time_origin_nsutf8Exact nanosecond origin for relative plot coordinates.
start_nsutf8Domain start in nanoseconds.
end_nsutf8Domain end in nanoseconds.
lanesvalueTimeline event and interval lanes.
labelsvalueLabels.
playback_cursorvaluePlayback cursor.

spql.viz.TopListSeries

One named series of categorical numeric values in a top list.

  • Stability: experimental
  • Constructor: spql.viz.top_list_series
  • Shared properties: id, label, visible, background, height, grow, min_height

Properties

NameTypeDefaultDescription
colorutf8Uniform mark color.
categoryvalueCategory labels.
valuevalueNumeric values aligned with the categories.
totalvalueSum across every category.

spql.viz.TopListView

Ranked categorical values displayed as a compact ordered list.

  • Stability: experimental
  • Constructor: spql.viz.top_list
  • Child slots: series
  • Shared properties: id, label, visible, background, height, grow, min_height

Properties

NameTypeDefaultDescription
seriesvalueNamed top-list series.
legendbooltrueShow series names and colors.
value_modeutf8absoluteShow absolute values or percentages of the full series total. One of absolute, relative.
sortutf8value_descRow ordering. Difference ranks by the largest gap between visible series in displayed units. One of value_desc, value_asc, category_asc, category_desc, difference_desc.

spql.viz.VideoView

Video visualization component.

  • Stability: experimental
  • Constructor: spql.viz.video_view
  • Shared properties: id, label, visible, background, height, grow, min_height

Properties

NameTypeDefaultDescription
show_controlsboolfalseShow local transport controls below the image.
scrub_overlayboolfalseOverlay the shared cursor and allow scrubbing in the video viewport.
srcvalueEncoded media source.
sourcevalueTyped media source.
mcapvalueExact MCAP source reference.
timeutf8Shared cursor state name.
time_origin_nsutf8Exact nanosecond origin of the clip.
fitutf8containImage fitting behavior. One of contain, cover.
mutedbooltrueMute audio.
codecvalueCodec.
frame_ratevalueFrame rate.
framingvalueFraming.
imagesvalueImages.
packetsvaluePackets.
postervaluePoster.
timestamps_nsvalueTimestamps ns.
titlevalueTitle.
Found a problem? Edit this page or report an issue.

On this page