mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 09:46:59 -06:00
Graph Data's Transpose row/column and Switch x/y, as https://helpx.adobe.com/illustrator/desktop/automate-visualize-data/visualize-data/add-graph-data.html describes, a `|` in a label as a line break, as https://helpx.adobe.com/illustrator/desktop/automate-visualize-data/visualize-data/add-graph-labels-and-data-sets.html describes, and the pie graph options of https://helpx.adobe.com/illustrator/desktop/automate-visualize-data/visualize-data/format-pie-graphs.html - graph.setData {transpose: true} swaps rows and columns (after any new data in the same call); a graph with more categories than a graph can have series (256) is refused rather than cut. {switchXY: true} swaps each scatter series' y and x columns, labels included. - A `|` in a category or series label starts a new line: legend rows grow with their lines, labels beside an axis or in a wedge centre theirs. A label of only `|` is blank. - Pie graphs: pieLegend none|standard|wedges (Legends in Wedges puts the series labels inside their wedges, in white on dark wedges, drawn over the pies), piePosition ratio|even|stacked and pieSort all|first|none, as dropdowns in the Graph Type dialog, which lists them for pie graphs only. Own choices, as the page doesn't say: Position and Sort keep today's drawing by default (Even, None); Ratio sizes pies by area, the biggest keeping the full size; Stacked pies share a centre, each drawn as the ring outside the next smaller one so none covers another, with their names over them. New fields are written only when set. Graphs with default options draw the same art as before.