Skip to main content

Module plot

Module plot 

Source
Expand description

Plot spec encoding and data preparation for chart cells.

This module provides:

  • PlotSpec: Specification for a plot (type, range, labels)
  • PlotData: Prepared data for rendering (frontend-agnostic)
  • Encoding/decoding of plot specs to/from cell display strings

The engine returns a tagged string for plot formulas (e.g. =BARCHART(A1:A10)). The TUI detects and renders these in a modal.

Structs§

PlotData
Prepared data for rendering a plot (frontend-agnostic).
PlotSpec
Specification for a plot (parsed from a plot cell).

Enums§

PlotKind

Constants§

PLOT_PREFIX

Functions§

format_plot_spec
parse_plot_spec