Skip to content

Commit 3fd5a22

Browse files
committed
feat(chart): add rendering feature for DrawingML charts
This commit introduces a new rendering feature for various types of charts in the feature registry. The new entry includes support for bar, line, stock, area, scatter, bubble, radar, pie, doughnut, and of pie charts, along with the corresponding module and specification reference.
1 parent 7728b1f commit 3fd5a22

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

β€Žpackages/layout-engine/painters/dom/src/features/feature-registry.tsβ€Ž

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,24 @@ export const RENDERING_FEATURES = {
7676
],
7777
spec: 'Β§22.1',
7878
},
79+
80+
// ─── Charts ───────────────────────────────────────────────────
81+
// @spec ECMA-376 Β§21.2 (DrawingML Charts)
82+
'c:chart': {
83+
feature: 'chart',
84+
module: './chart',
85+
handles: [
86+
'c:barChart',
87+
'c:lineChart',
88+
'c:stockChart',
89+
'c:areaChart',
90+
'c:scatterChart',
91+
'c:bubbleChart',
92+
'c:radarChart',
93+
'c:pieChart',
94+
'c:doughnutChart',
95+
'c:ofPieChart',
96+
],
97+
spec: 'Β§21.2',
98+
},
7999
} as const;

0 commit comments

Comments
Β (0)