Gallery

A single dashboard that renders the whole TVL surface at once: every chart type, the composition primitives, the annotation layers, the styling knobs, and the three numeric-axis variants.

Layout is handled by deephaven.ui: each group is a ui.panel inside a single ui.dashboard, and the charts within a panel are arranged with ui.flex.


What each panel shows

Chart types — the six time-axis series: line, area, baseline, histogram, candlestick, and bar.

Compose — tvl.chart takes any number of series. Passing several gives an overlay; adding pane= stacks them into separate panes sized by pane_stretch_factors; price_scale_id="left" splits them across two axes; and by= expands one series into one line per key.

Annotate — markers pinned to timestamps, horizontal price lines, a watermark behind the plot, and the cursor-following tracking tooltip.

Style — theme color names and hex/rgba both work anywhere a color is taken (see styling); line width, dash pattern, and step interpolation are per-series; price formats change how values print on the axis; and tvl.time_scale controls bar spacing and the right-edge offset.

Axes — auto_bin=True reduces raw rows into time buckets server-side (see autobin); continuous toggles the time-proportional axis, which is what spaces the bars by elapsed time in the middle chart; and yield curve, options chart, and custom numeric swap the time axis for a numeric one.

Notes

  • ui.flex distributes space evenly, so a row of three charts is narrower than a row of two. Charts render at whatever size they are given and re-fit on resize. Drag the panel dividers to give a section more room.
  • Fixtures come from tvl.data. They tick once per second by default; pass ticking=False to any of them for a static snapshot.
  • The continuous comparison is easiest to read on data with uneven spacing. The default chart spaces its bars by elapsed time while continuous=False spaces them evenly.