Skip to content

AI turns documents or topics into real, native PowerPoint decks—with native shapes, transitions and animations, data-backed charts and tables on demand, audio narration from speaker notes, and support for your own .pptx templates. · by Hugo He

docs(executor): remove grid layout from mandatory chart calibration and update pie chart docs

hugohe32e011b003aa9
diff --git a/skills/ppt-master/references/executor-base.md b/skills/ppt-master/references/executor-base.md
index ca5cf708..07fc73f1 100644
--- a/skills/ppt-master/references/executor-base.md
+++ b/skills/ppt-master/references/executor-base.md
@@ -197,7 +197,7 @@ When the Design Spec includes a **VII. Visualization Reference List**, read the
**Workflow for chart pages after `svg_quality_checker.py` passes:**
-1. **Confirm the chart type is supported** — run this review only for chart types exposed by the calculator: `bar`, `pie` / `donut`, `radar`, `line` / `area` / `scatter`, and `grid`. Area charts do **not** have a separate calculator mode; use `calc line` for the upper boundary points, then close the filled area to the plot area's bottom baseline (`y_max`) in the SVG. Other visualizations (timeline, process, framework diagrams, maps, pictograms, etc.) are governed by normal visual/spec review unless they can be explicitly modeled by one of these calculator modes.
+1. **Confirm the chart type is supported** — run this review only for data chart types exposed by the calculator: `bar`, `pie` / `donut`, `radar`, and `line` / `area` / `scatter`. Area charts do **not** have a separate calculator mode; use `calc line` for the upper boundary points, then close the filled area to the plot area's bottom baseline (`y_max`) in the SVG. Grid layout calculation is optional layout assistance, not a mandatory chart calibration target. Other visualizations (timeline, process, framework diagrams, maps, pictograms, etc.) are governed by normal visual/spec review unless they can be explicitly modeled by one of these data chart modes.
2. **Identify the chart plot area** — read it from the SVG layout or derive it from the existing chart frame. The plot area is the data drawing rectangle only; it excludes title, legend, axis labels, footnotes, and surrounding annotations.
@@ -219,9 +219,6 @@ When the Design Spec includes a **VII. Visualization Reference List**, read the
# Pie / donut chart
python3 scripts/svg_position_calculator.py calc pie \
--data "Slice1:Value1,Slice2:Value2" --center "cx,cy" --radius 200
-
- # Grid layout (KPI cards, multi-column)
- python3 scripts/svg_position_calculator.py calc grid --rows 2 --cols 2 --area "50,150,1230,670"
```
For an area chart, use the line output as the top boundary. The filled SVG path should close to the plot area's bottom edge:
@@ -231,7 +228,7 @@ When the Design Spec includes a **VII. Visualization Reference List**, read the
4. **If coordinates differ** — manually update the SVG attributes from the calculator output, then rerun `svg_quality_checker.py` and repeat this coordinate review. Do NOT use regex or bulk text replacement to rewrite SVG coordinates automatically.
-**Why this matters**: AI models routinely introduce 10–50 px coordinate errors when mentally mapping data values to SVG pixel positions. These errors compound across bars, lines, and grid cells, producing charts where data proportions are visually wrong. The calculator eliminates this class of error entirely.
+**Why this matters**: AI models routinely introduce 10–50 px coordinate errors when mentally mapping data values to SVG pixel positions. These errors compound across bars, lines, and arcs, producing charts where data proportions are visually wrong. The calculator eliminates this class of error entirely.
---
diff --git a/skills/ppt-master/templates/charts/donut_chart.svg b/skills/ppt-master/templates/charts/donut_chart.svg
index 17d05ab8..83072994 100644
--- a/skills/ppt-master/templates/charts/donut_chart.svg
+++ b/skills/ppt-master/templates/charts/donut_chart.svg
@@ -4,6 +4,7 @@
Usage: Proportion and composition analysis
Scenarios: Market share, budget allocation, structural analysis
Supports: 5 segments (3-6 recommended)
+ Convention: slices start at 12 o'clock and proceed clockwise
-->
<defs>
<!-- Sector Shadow -->
@@ -29,6 +30,7 @@
Outer Radius: 180px
Inner Radius: 100px
Start Angle: -90° (12 o'clock)
+ Direction: Clockwise
Data:
1. Enterprise Services: 35% (Blue #3B82F6) - Angle: 126°
2. Consumer Electronics: 28% (Green #10B981) - Angle: 100.8°
diff --git a/skills/ppt-master/templates/charts/pie_chart.svg b/skills/ppt-master/templates/charts/pie_chart.svg
index 1feffc86..84724f05 100644
--- a/skills/ppt-master/templates/charts/pie_chart.svg
+++ b/skills/ppt-master/templates/charts/pie_chart.svg
@@ -4,6 +4,7 @@
Purpose: Distribution and proportion analysis
Use cases: Market share, budget allocation, demographic breakdown
Supports: 5 segments (Recommended 3-6)
+ Convention: slices start at 12 o'clock and proceed clockwise
-->
<defs>
<!-- Soft Shadow for Pie and Card -->
@@ -28,6 +29,7 @@
Center: (420, 400)
Radius: 200px
Start Angle: -90° (12 o'clock)
+ Direction: Clockwise
White stroke creates a modern separated-slice look
-->
<!-- Segment 1: Competitor A 35% (-90° to 36°) -->