forked from hyperlight-dev/hyperagent
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpptx-charts.json
More file actions
30 lines (30 loc) · 1.15 KB
/
pptx-charts.json
File metadata and controls
30 lines (30 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
"name": "pptx-charts",
"description": "OOXML DrawingML chart generation - bar, pie, line charts for PPTX presentations",
"author": "system",
"mutable": false,
"sourceHash": "sha256:5c521ce93ff39626",
"dtsHash": "sha256:5f653830226c3554",
"importStyle": "named",
"hints": {
"overview": "Chart generation for PPTX. Always used with ha:pptx.",
"relatedModules": [
"ha:pptx"
],
"criticalRules": [
"series.name is REQUIRED for all chart data series — will throw if missing",
"Use chartSlide(pres, {title, chart}) for simple full-slide charts",
"Chart values must be finite numbers — not null, undefined, or strings",
"pieChart: labels[] and values[] must have the same length",
"barChart/lineChart: each series.values[] length must equal categories[] length"
],
"antiPatterns": [
"Don't import chart functions from ha:pptx — they're in this module"
],
"commonPatterns": [
"barChart({categories, series: [{name, values}], title}) → chart XML",
"pieChart({labels, values, title}) → chart XML",
"chartSlide(pres, {title, chart}) to embed in presentation"
]
}
}