mirror of
https://github.com/storytold/gridcraft.git
synced 2026-10-24 10:46:50 -06:00
Excel writes a workbook-scoped defined name in a chart reference as `[0]!Name`. The reader kept that text, the lexer took `[0]` for a structured reference, and the series evaluated to #NAME?: a chart over dynamic (OFFSET) names opened blank with one #NAME? category. - Read: `[0]!Name` becomes `Name` in c:f (cat, val, xVal, yVal, bubbleSize, tx), chartex cx:f and _xlchart names. External books ([1]Sheet1!...), quoted sheet names and strings are untouched. - Write: a bare workbook-scoped name is written back as `[0]!Name`; a sheet-scoped name stays bare. A series name that is a defined name is written as a strRef instead of literal text. - Resolve: a series name that is a defined name is evaluated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>