- New csv.rs: parse_ohlcv_csv (date,open,high,low,close[,volume],
header optional, errors name the line) + derived series (VWAP, OBV,
accumulation/distribution, money flow, Heikin-Ashi, Renko, volume
profile).
- XGraph: load_*_csv loaders (candles, OHLC bars, close line, indexed
closes, VWAP over candles, OBV, A/D, money flow, Heikin-Ashi, Renko,
volume bars/candles/profile), add_ohlc_csv + add_ratio_line /
add_spread_line for two-symbol compare, clear_data, SeriesKind::Bars
(volume bars from the zero line; y range forced to contain 0).
- ChartWidget::populate_from_csv picks the series per kind; the 14
drawing/annotation kinds reject CSV with an error. Widget trait gains
load_csv_data (default: rejects); XGraph loads candles.
- xframe-demo: run_widget_with_csv + --csv flag; csv-chart-shots
example renders all 23 kinds headlessly and diffs vs the blank
template; 30-row sample CSV in examples/data/.
- docs/stock-charts-csv.md: audit (no template data ships inside the
widget), CSV spec, per-kind table, worked examples, limits. Also
corrects the stale gen.rs comment about a seeded preview series.
- 13 new tests in csv_tests.rs (parser, derived math, per-kind
population, clear/populate, ratio/spread, headless renders).
Rewrite the generator to emit XFrame code (transliteration of the C
generator): single main.cpp with lg::Holder<T> widgets, XFrame styles,
menubar and X event loop, plus CMakeLists/Makefile/README. GTK output
is gone: chart_template.rs, cmake.rs and embedded/ deleted. Fixtures
regenerated from the C gen_matrix (16 cases x 4 files) and byte-identical
to the C generator; all 16 compile warning-free under -Wall -Wextra
and run under Xvfb.