@diagrammo/dgmo 0.3.0 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/skills/dgmo-chart/SKILL.md +6 -0
- package/README.md +5 -0
- package/dist/cli.cjs +139 -140
- package/dist/index.cjs +267 -113
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +267 -113
- package/dist/index.js.map +1 -1
- package/docs/language-reference.md +35 -0
- package/package.json +1 -1
- package/src/chart.ts +12 -6
- package/src/d3.ts +129 -52
- package/src/echarts.ts +79 -28
- package/src/sequence/parser.ts +16 -3
- package/src/sequence/renderer.ts +22 -0
- package/src/utils/parsing.ts +31 -0
|
@@ -92,6 +92,12 @@ Team B: 2, 3, 2, 4, 3
|
|
|
92
92
|
## Common patterns
|
|
93
93
|
|
|
94
94
|
- `series: Name1(color1), Name2(color2)` — multi-series with colors
|
|
95
|
+
- Multi-line values: leave the value empty and indent each entry on its own line
|
|
96
|
+
```
|
|
97
|
+
series:
|
|
98
|
+
Name1 (color1)
|
|
99
|
+
Name2 (color2)
|
|
100
|
+
```
|
|
95
101
|
- `Label(color): value` — per-item colors
|
|
96
102
|
- `labels: percent` — show percentages on pie/doughnut
|
|
97
103
|
- `orientation: horizontal` — rotate bar charts
|
package/README.md
CHANGED