mirror of
https://github.com/storytold/deckcraft.git
synced 2026-11-13 01:15:56 -06:00
A c:legendEntry can give one legend entry its own text (c:txPr), as decks do to make legend text white on a dark chart. It was never read, so every entry drew in the legend's text. The chart model keeps each entry's size, bold and colour (Chart::legend_entries); the reader takes them from the entry's c:txPr, the legend draws each name, key and row at its entry's size and in its weight and colour, and a chart rebuilt after an edit writes them back before c:overlay, in schema order. Entries that set none of the three are not kept. Fixes #2067