mirror of
https://github.com/storytold/deckcraft.git
synced 2026-10-24 10:37:03 -06:00
A bar series' own fill was read only when solid or a gradient: a pattern (a:pattFill) was dropped, and an a:noFill series was read but drawn in the palette's colour anyway, because the chart renderer turned every fill into one colour and fell back to the palette for anything but solid. PowerPoint for Mac draws the pattern, leaves an a:noFill bar empty and draws its outline (c:spPr/a:ln) where it has one: a synthetic column chart with a red-on-yellow dkDnDiag series, an empty series with a 3 pt blue outline and an empty one without, exported as PDF, shows exactly that, legend keys included. - The chart reader reads a:pattFill (dml::pattern, shared with shapes); the chart writer writes it back for an edited chart. - Bars and their legend keys paint with the series' or point's own fill: a colour, a preset pattern (pattern::fill) or nothing, then the series' solid outline at its width. - Lines, areas and markers, which take one colour, use a pattern's foreground colour instead of the palette's. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>