Same radial-extent inset as C/Rust: the glyph box farthest corner
in the radial direction stays inside the tick ring (inner end r-16)
with 4 px clearance, so a wide 4-digit label never crosses the dial
rim. Verified by re-shoot; full suite still 363 tests OK.
- Graphs (History/Net/Temp): dynamic left margin from the widest Y
label (fixes Y labels overflowing the plot), legend on top, 5 Y
labels, humanised units in NetGraph, TempHistory threshold label
above the line ("80 C limit"), top/bottom Y labels hang clear of
the title and the strip below the plot. History gains -60s/now.
- XTachometer: numerals 7.5% of dial diameter bold just inside the
tick ring, RPM bold centred in-dial below the top numerals (its
baseline hangs below the top numeral so it cannot collide with
the 3200/4800 numerals on small dials), readout "value (peak N)"
enlarged below the hub, redline numerals in red.
- All 14 audit widgets: font sizes derived from widget dimensions
per the proportions audit (titles 16px bold, hero values 24-48px
bold, body/legend 13-16px, min 11px); CoreGrid keeps 4x2; UsageBar
labels outside the bar on a dark panel; StackBar title+total
header (adaptive: omitted at 48px where it would push the legend
out) with centred block; VerticalBar value inside the bar, peak
label with shrink-to-fit; ArcGauge centre 40-48px + endpoints;
DonutGauge centre 36-44px, ring 8-10% of diameter, duplicate
title dropped, centre label is the value name; ProcessList 13px
rows, bold header with sort indicator, "N procs"; LoadBadge
centred two-line block with scaled values; MonitorButton scaled
label/dot/status + detail line; MonitorGrid ceil(sqrt(n)) columns,
name+status+detail design with wrapped detail; SysBox hero
28-32px + max + bar %.
- New _fpx() clamp helper; XStackBar gains the "unit" prop
(props_monitor.py) for its "total <sum> <unit>" header.
- Demos: button/grid labels "SSH :22" -> "sshd :22", tach label
"Engine" -> "RPM", stackbar demo 320x48 -> 320x120 (title+bar+
legend cannot fit in 48px), verticalbar demo 60 -> 160 wide
(the "peak 82" label cannot fit in a 60px widget).
- Deviations from the audit spec: UsageBar label capped at 40px
(the literal 0.45x rule gives 209px in a 464px-tall bar); SysBox
hero uses 10% of height clamped 20-32px (spec 6-7% conflicts
with the audited-correct PY value of 10.3%); PY LoadBadge gets
no 1/5/15 sub-labels (the audit calls the PY layout correct;
the sub-labels were directed at Rust).
Full suite: 363 tests OK (44 skipped). All 15 demos shot + verified.
The right-aligned total overlapped the last legend item and its
byte formatting was meaningless for unitless segments. Legend now
shows only the segment chips + percentages.
- Cairo arc() draws a connecting line from the current point to
the arc start, and _wtext() leaves a current point (move_to +
show_text), so the tachometer / arc / donut gauges grew a stray
diagonal in the track color. New _arc_stroke() helper does
new_path() before every arc.
- Tachometer digital readout moved below the hub (was colliding
with the 0/max tick labels).
- XProcessList CPU% is now per-core against per-process wall
time: on this VPS /proc/stat totals advance at only ~320
jiffies/s for 8 cores (host vCPU scheduling), so the stat
denominator inflated a busy loop to ~240%; wall time gives
~97% (verified live against a busy loop).
New btop-style live monitor widgets (registry 547-561, archetype
Monitor, family X, section Misc / X): XHistoryGraph, XCoreGrid,
XNetGraph, XTempHistory, XUsageBar, XStackBar, XVerticalBar,
XTachometer, XArcGauge, XDonutGauge, XProcessList, XLoadBadge,
XMonitorButton, XMonitorGrid, XSysBox. Drawn with Cairo on a
Gtk.DrawingArea like the rest of the set; sample data is runtime
state only (demo sine data until push()/refresh()/poll() feeds
real data). Checks are stdlib only: /proc scan, systemctl
is-active, socket to localhost. 35 new tests; full suite 363 green.