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 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.
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.
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.
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.
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.
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.
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.
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.