mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-17 08:01:26 +00:00
The appearance.* commands, graphicStyle.apply, graphicStyle.redefine, graphicStyle.breakLink and transparency.set with an item, given a graph's Axes group or Legend group, edited the group's own appearance stack. The graph draws those groups again with no rows of their own, so the next redraw (for example after graph.setData) removed the edit. These commands now read such a group as they read a series group: the Axes group stands for the axis lines, tick marks, radar rings and labels directly in it, and the Legend group for the legend labels. The graph keeps what the command sets for every line and label of each kind. graphicStyle.new and the other commands that read a look read the topmost member of a group that holds nothing of its own. A group with a fill or stroke row of its own, or with no line or label in it, is still edited itself, except by graphicStyle.redefine, which passes the style to the members of a linked group. The lines and labels of a new graph have different rows, so a row index given the Axes group would name a different row in each. An index or item given such a group is now an error unless `aligned` is true, which makes it a row of the backmost member's stack. Docs: docs/mcp.md, params text, docs/target-app-parity.md Graphs line.