code wiki / _hdl_build / nx_xlsx_chart_gate.nx
nx_xlsx_chart_gate.nx
buildroot/runtime/_hdl_build/nx_xlsx_chart_gate.nx
about
nx_xlsx_chart_gate.nx -- gate for CHARTS v1 (office census OF-S4, native-first): the .xlsx preview renders
a 0-JS BAR CHART from sheet data -- labels col A, values = first >=60%-numeric column, bar widths = integer
percents of the max, and FORMULA cells chart at their COMPUTED values (the =SUM total is the 100% bar).
In-file DrawingML c:chart = named follow-up, NOT claimed. Rows: 1 chart+pinned-widths 2 formula-bar-100pct
3 no-numeric-sheet-no-chart 4 registry-dispatch-includes-chart 5 outputs-0js 6 determinism 7 loud-fail[neg]
license_tier: ORIGINAL
dependencies 1 imports · 0 importers
imports: nx_syscalls.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 9 | func cg_slen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8) { n=n+1 } return n } |
| 10 | func cg_p(s: *u8) -> i64 { sys_write(1, s, cg_slen(s)); return 0 } |
| 11 | func cg_cat(dst: *u8, off: i64, s: *u8) -> i64 { var i: i64=0; while s[i]!=(0 as u8) { dst[off+i]=s[i]; i=i+1 } return off+i } called by 1: main |
| 12 | func cg_catn(dst: *u8, off: i64, v: i64) -> i64 |
| 18 | func cg_write(path: *u8, content: *u8) -> i64 |
| 22 | func cg_readall(path: *u8, szout: *i64) -> *u8 |
| 28 | func cg_runv(elf: *u8, args: *i64, outpath: *u8) -> i64 |
| 43 | func cg_has(path: *u8, needle: *u8) -> i64 |
| 50 | func cg_fileeq(p1: *u8, p2: *u8) -> i64 |
| 61 | func cg_args4(a1: *u8, a2: *u8, a3: *u8, a4: *u8) -> *i64 |
| 64 | func cg_row(name: *u8, pass: i64) -> i64 |
| 68 | func main(argc: i64, argv: *i64) -> i64 |