Skip to main content

Module widgets

Module widgets 

Source

Modules§

analysis
axes
Axis ticks, labels, titles and the grid for every chart. ratatui places whatever labels it is given, cutting them or running them together on a narrow plot, and draws the axis titles over the plot’s corners. So datui chooses the ticks, draws their labels and marks, and gives each title a row of its own or none.
chart
Chart view widget: the panel of shelves on the left (Type, X, Y, Color, then the options), the plot on the right under its title, and the shared Picker over them while a shelf is edited.
chart_export_modal
Chart export dialog rendering: one Surface, a FormRow per field, the actions in the footer.
column_paging
Sideways moves across the main table’s scrolling columns, planned from the widths the columns are drawn at.
column_widths
The width each column of the main table is drawn at, kept by column identity so the layout holds still while the view pages, scrolls, reorders and resizes.
copy
Copy dialog rendering: one Surface, a FormRow per axis, the focused row’s Picker below the rows, and the spec line saying what Enter will do.
crosshair
The XY chart’s crosshair: a cursor that stands on a point’s x, steps to the next point a column or more away, and a readout under the plot of every series’ value there. Pure: the chart view draws it, the chart keys and a click move it.
data_quality
datatable
debug
documentation
The Documentation view: what a catalog says of one dataset, and what the format spec that reads a file says of it, as a page to read.
export
Export modal rendering: one Surface, a FormRow per field in one column, the actions in the footer. Format is a Choice, so it is drawn as one: its values side by side on its row, where ←/→ visibly step along them.
info
Info panel: tabbed Schema and Resources view for dataset technical info.
inspector
The row inspector: every field of the table’s selected row, and the focused field’s whole value. A takeover over the table: one Surface titled with the row. Below 140 columns the fields are listed above the value; wider, the fields sit on the left, in as many columns as fit, and the value on the right at full height. Tab moves the focus between the list and the value, and the rail moves with it.
pivot_melt
The Pivot & Melt builder: one Surface over the whole screen, the form on the left and a live preview of the result on the right, stacked on a narrow terminal. The form is a FormRow per field with the one Picker below the rows; the preview is the first rows of the reshaped head, typed and colored as the table draws them, under a line that says what it ran over and the shape.
quality_export
The dialog that writes the Data Quality report on screen to a file: a path and a form, and a line saying what the form holds or why Enter did not write.
quality_intent
Column intent in Data Quality Setup: the list of the scope’s columns with what each is declared to hold, and the form that declares it for one.
retype
The type picker and the combine form: one Surface each over the table.
sample_form
The Sample form: which rows every analysis tool reads, and how they are picked.
text_input
The text entry field used everywhere in datui.
textarea
A text editing widget built directly on ratatui.
ticks
Where an axis’s ticks fall: on nice numbers, 1, 2 or 5 times a power of ten, or on calendar boundaries such as hours, days, months and years. Pure arithmetic; crate::widgets::axes decides how many fit and draws them.
ui
The component kit: the pieces every surface is built from.
view_modal
State for the Views sidebar: the list of saved views scored against the open file, and the save/edit form.