mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 09:46:59 -06:00
The reference app's graphs help describes adding totals to a column design: type in the design holds a percent sign followed by two digits. VectorCraft drew that type as typed, stretched with the design. Type in a column design that holds a % followed by two digits now shows the value of each column or stacked segment in place of the % and the two digits. The first digit is the least number of places before the decimal point, with zeros added in front (0 for as many as the value needs), and the second is the number of places after it. Values are rounded half away from zero. The type keeps its own size and moves to where the design's copy puts the point it is set from. A repeating design shows it once per column, where a whole copy ending at the value end puts it, and Chop Design does not cut it. A sliding design moves it with the part of the design on its side of the guide. Type inside a group that clips or has its own opacity, blend mode, appearance or opacity mask, or inside a blend, compound shape, envelope, repeat or intertwine, stays in the design and shows the value in each copy. Type inside a symbol stays as typed. The legend swatch leaves the totals out. Docs: docs/mcp.md, docs/target-app-parity.md.