feat(slides): add slides chart demo reference#1769
Conversation
📝 WalkthroughWalkthroughThis PR adds a new SML slide deck demonstrating multiple chart types and updates slide XML reference docs for chart examples and whiteboard/Mermaid rendering guidance. ChangesChart demo and rendering guidance
Estimated code review effort: 3 (Moderate) | ~20 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@skills/lark-slides/references/slides_chart_demo.xml`:
- Line 1: The whiteboard demo slots are empty self-closing placeholders, so the
scatter, bubble, funnel, pareto, waterfall, and combo examples render as blank
cards. Update the `<whiteboard>` instances in slides_chart_demo.xml to include
the actual SVG/Mermaid payloads for those charts, using the existing whiteboard
elements as the locators. For the combo example, either populate it with a real
whiteboard payload or replace it with a native `<chart>` example, since combo is
already supported by the chart contract.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 7c8517b1-c16a-4601-a4ef-2b86c5b67dbb
📒 Files selected for processing (2)
skills/lark-slides/references/slides_chart_demo.xmlskills/lark-slides/references/xml-format-guide.md
| @@ -0,0 +1 @@ | |||
| <presentation xmlns="/sml/2.0" width="960" height="540"><title>全类型图表元素 Demo</title><theme><textStyles><headline fontColor="rgba(31, 35, 41, 1)"/><sub-headline fontColor="rgba(31, 35, 41, 1)"/><body fontColor="rgba(31, 35, 41, 1)"/><caption fontColor="rgba(155, 158, 162, 1)" fontSize="14"/></textStyles></theme><slide><style><fill><fillColor color="rgba(248, 250, 252, 1)"/></fill></style><data><shape width="960" height="540" topLeftX="0" topLeftY="0" presetHandlers="0" type="rect"><fill><fillColor color="rgba(248, 250, 252, 1)"/></fill><content fontSize="16" fontFamily="思源黑体" color="rgba(31, 35, 41, 1)"/></shape><shape width="10" height="540" topLeftX="0" topLeftY="0" presetHandlers="0" type="rect"><fill><fillColor color="rgba(58, 119, 255, 1)"/></fill><content fontSize="16" fontFamily="思源黑体" color="rgba(31, 35, 41, 1)"/></shape><shape width="680" height="40" topLeftX="48" topLeftY="34" type="text"><content textType="headline" fontSize="30" fontFamily="思源黑体" color="rgba(20, 27, 38, 1)" bold="true" textAlign="left"><p>全类型图表元素 Demo</p></content></shape><shape width="760" height="28" topLeftX="50" topLeftY="76" type="text"><content fontSize="13" fontFamily="思源黑体" color="rgba(94, 108, 132, 1)" bold="false" textAlign="left"><p>覆盖柱状、折线、饼环、条形、面积、散点、气泡、组合、雷达、词云、漏斗、帕累托与瀑布图。</p></content></shape><shape width="430" height="92" topLeftX="66" topLeftY="146" type="text"><content textType="title" fontSize="44" fontFamily="思源黑体" color="rgba(20, 27, 38, 1)" bold="true" textAlign="left"><p>24 个图表缩略元素</p></content></shape><shape width="420" height="54" topLeftX="70" topLeftY="244" type="text"><content fontSize="17" fontFamily="思源黑体" color="rgba(94, 108, 132, 1)" bold="false" textAlign="left"><p>数值与题材均为虚构产品运营数据;目标是验证 lark-slides 可编辑图表与自定义 SVG 图表的覆盖面。</p></content></shape><shape width="300" height="230" topLeftX="560" topLeftY="132" presetHandlers="0" type="rect"><fill><fillColor color="rgba(255, 255, 255, 1)"/></fill><border color="rgba(226, 232, 240, 1)" width="1"/><content fontSize="16" fontFamily="思源黑体" color="rgba(31, 35, 41, 1)"/></shape><whiteboard width="236" height="150" topLeftX="592" topLeftY="160"/><shape width="240" height="32" topLeftX="599.3078101071975" topLeftY="318.15313935681473" type="text"><content fontSize="13" fontFamily="思源黑体" color="rgba(94, 108, 132, 1)" bold="false" textAlign="left"><p>统一视觉系统:蓝色为主序列,橙色为对比序列,浅灰卡片承载每个图表。</p></content></shape><shape width="100" height="18" topLeftX="810" topLeftY="504" type="text"><content fontSize="10" fontFamily="思源黑体" color="rgba(94, 108, 132, 1)" bold="false" textAlign="right"><p>Chart demo</p></content></shape></data><note><content/></note></slide><slide><style><fill><fillColor color="rgba(248, 250, 252, 1)"/></fill></style><data><shape width="960" height="540" topLeftX="0" topLeftY="0" presetHandlers="0" type="rect"><fill><fillColor color="rgba(248, 250, 252, 1)"/></fill><content fontSize="16" fontFamily="思源黑体" color="rgba(31, 35, 41, 1)"/></shape><shape width="10" height="540" topLeftX="0" topLeftY="0" presetHandlers="0" type="rect"><fill><fillColor color="rgba(58, 119, 255, 1)"/></fill><content fontSize="16" fontFamily="思源黑体" color="rgba(31, 35, 41, 1)"/></shape><shape width="680" height="40" topLeftX="48" topLeftY="34" type="text"><content textType="headline" fontSize="30" fontFamily="思源黑体" color="rgba(20, 27, 38, 1)" bold="true" textAlign="left"><p>柱状图覆盖:并列、堆叠、百分比堆叠</p></content></shape><shape width="760" height="28" topLeftX="50" topLeftY="76" type="text"><content fontSize="13" fontFamily="思源黑体" color="rgba(94, 108, 132, 1)" bold="false" textAlign="left"><p>同一批季度数据以三种柱状表达方式展示。</p></content></shape><shape width="272" height="164" topLeftX="48" topLeftY="118" presetHandlers="0" type="rect"><fill><fillColor color="rgba(255, 255, 255, 1)"/></fill><border color="rgba(226, 232, 240, 1)" width="1"/><content fontSize="16" fontFamily="思源黑体" color="rgba(31, 35, 41, 1)"/></shape><shape width="250" height="24" topLeftX="66" topLeftY="132" type="text"><content fontSize="13" fontFamily="思源黑体" color="rgba(20, 27, 38, 1)" bold="true" textAlign="left"><p>并列柱状图</p></content></shape><chart width="236" height="108" topLeftX="66" topLeftY="156"><chartPlotArea><chartPlot type="column"><chartExtra/><chartBars gap="0.28"/></chartPlot><chartAxes><chartAxis type="x"><chartLabel fontSize="9" color="rgb(100, 116, 139)"/></chartAxis><chartAxis type="y" position="left" min="0"><chartGridLine color="rgb(226, 232, 240)"/><chartLabel fontSize="9" color="rgb(100, 116, 139)"/></chartAxis></chartAxes></chartPlotArea><chartLegend position="bottom" color="rgb(100, 116, 139)" fontSize="9"/><chartData><dim1><chartField name="x">Q1,Q2,Q3,Q4</chartField></dim1><dim2><chartField name="访问">42,56,48,72</chartField><chartField name="注册">31,38,44,51</chartField></dim2></chartData><chartStyle><chartBackground color="rgba(255, 255, 255, 0)"/><chartFont size="10" color="rgb(94, 108, 132)"/><chartBorder color="rgb(222, 224, 227)" width="0"/><chartColorTheme><color value="rgb(58, 119, 255)"/><color value="rgb(255, 126, 35)"/><color value="rgb(42, 175, 124)"/><color value="rgb(235, 82, 82)"/></chartColorTheme></chartStyle></chart><shape width="272" height="164" topLeftX="344" topLeftY="118" presetHandlers="0" type="rect"><fill><fillColor color="rgba(255, 255, 255, 1)"/></fill><border color="rgba(226, 232, 240, 1)" width="1"/><content fontSize="16" fontFamily="思源黑体" color="rgba(31, 35, 41, 1)"/></shape><shape width="250" height="24" topLeftX="362" topLeftY="132" type="text"><content fontSize="13" fontFamily="思源黑体" color="rgba(20, 27, 38, 1)" bold="true" textAlign="left"><p>堆叠柱状图</p></content></shape><chart width="236" height="108" topLeftX="362" topLeftY="156"><chartPlotArea><chartPlot type="column"><chartExtra><chartStack/></chartExtra><chartBars gap="0.28"/></chartPlot><chartAxes><chartAxis type="x"><chartLabel fontSize="9" color="rgb(100, 116, 139)"/></chartAxis><chartAxis type="y" position="left" min="0"><chartGridLine color="rgb(226, 232, 240)"/><chartLabel fontSize="9" color="rgb(100, 116, 139)"/></chartAxis></chartAxes></chartPlotArea><chartLegend position="bottom" color="rgb(100, 116, 139)" fontSize="9"/><chartData><dim1><chartField name="x">Q1,Q2,Q3,Q4</chartField></dim1><dim2><chartField name="新客">18,24,31,38</chartField><chartField name="老客">36,42,40,47</chartField></dim2></chartData><chartStyle><chartBackground color="rgba(255, 255, 255, 0)"/><chartFont size="10" color="rgb(94, 108, 132)"/><chartBorder color="rgb(222, 224, 227)" width="0"/><chartColorTheme><color value="rgb(58, 119, 255)"/><color value="rgb(255, 126, 35)"/><color value="rgb(42, 175, 124)"/><color value="rgb(235, 82, 82)"/></chartColorTheme></chartStyle></chart><shape width="272" height="164" topLeftX="640" topLeftY="118" presetHandlers="0" type="rect"><fill><fillColor color="rgba(255, 255, 255, 1)"/></fill><border color="rgba(226, 232, 240, 1)" width="1"/><content fontSize="16" fontFamily="思源黑体" color="rgba(31, 35, 41, 1)"/></shape><shape width="250" height="24" topLeftX="658" topLeftY="132" type="text"><content fontSize="13" fontFamily="思源黑体" color="rgba(20, 27, 38, 1)" bold="true" textAlign="left"><p>百分比堆叠柱状图</p></content></shape><chart width="236" height="108" topLeftX="658" topLeftY="156"><chartPlotArea><chartPlot type="column"><chartExtra><chartStack percentage="true"/></chartExtra><chartBars gap="0.28"/></chartPlot><chartAxes><chartAxis type="x"><chartLabel fontSize="9" color="rgb(100, 116, 139)"/></chartAxis><chartAxis type="y" position="left" max="100" min="0"><chartGridLine color="rgb(226, 232, 240)"/><chartLabel fontSize="9" color="rgb(100, 116, 139)"/></chartAxis></chartAxes></chartPlotArea><chartLegend position="bottom" color="rgb(100, 116, 139)" fontSize="9"/><chartData><dim1><chartField name="x">A,B,C,D</chartField></dim1><dim2><chartField name="移动端">62,58,65,61</chartField><chartField name="桌面端">38,42,35,39</chartField></dim2></chartData><chartStyle><chartBackground color="rgba(255, 255, 255, 0)"/><chartFont size="10" color="rgb(94, 108, 132)"/><chartBorder color="rgb(222, 224, 227)" width="0"/><chartColorTheme><color value="rgb(58, 119, 255)"/><color value="rgb(255, 126, 35)"/><color value="rgb(42, 175, 124)"/><color value="rgb(235, 82, 82)"/></chartColorTheme></chartStyle></chart><shape width="100" height="18" topLeftX="810" topLeftY="504" type="text"><content fontSize="10" fontFamily="思源黑体" color="rgba(94, 108, 132, 1)" bold="false" textAlign="right"><p>Chart demo</p></content></shape></data><note><content/></note></slide><slide><style><fill><fillColor color="rgba(248, 250, 252, 1)"/></fill></style><data><shape width="960" height="540" topLeftX="0" topLeftY="0" presetHandlers="0" type="rect"><fill><fillColor color="rgba(248, 250, 252, 1)"/></fill><content fontSize="16" fontFamily="思源黑体" color="rgba(31, 35, 41, 1)"/></shape><shape width="10" height="540" topLeftX="0" topLeftY="0" presetHandlers="0" type="rect"><fill><fillColor color="rgba(58, 119, 255, 1)"/></fill><content fontSize="16" fontFamily="思源黑体" color="rgba(31, 35, 41, 1)"/></shape><shape width="680" height="40" topLeftX="48" topLeftY="34" type="text"><content textType="headline" fontSize="30" fontFamily="思源黑体" color="rgba(20, 27, 38, 1)" bold="true" textAlign="left"><p>折线图覆盖:普通、平滑、阶梯</p></content></shape><shape width="760" height="28" topLeftX="50" topLeftY="76" type="text"><content fontSize="13" fontFamily="思源黑体" color="rgba(94, 108, 132, 1)" bold="false" textAlign="left"><p>展示趋势、缓冲曲线和阶段变化三种典型线型。</p></content></shape><shape width="272" height="164" topLeftX="48" topLeftY="118" presetHandlers="0" type="rect"><fill><fillColor color="rgba(255, 255, 255, 1)"/></fill><border color="rgba(226, 232, 240, 1)" width="1"/><content fontSize="16" fontFamily="思源黑体" color="rgba(31, 35, 41, 1)"/></shape><shape width="250" height="24" topLeftX="66" topLeftY="132" type="text"><content fontSize="13" fontFamily="思源黑体" color="rgba(20, 27, 38, 1)" bold="true" textAlign="left"><p>普通折线图</p></content></shape><chart width="236" height="108" topLeftX="66" topLeftY="156"><chartPlotArea><chartPlot type="line"><chartExtra/><chartPoints shape="circle" size="5" color="rgb(58, 119, 255)"/><chartLines color="rgb(58, 119, 255)" width="2"/></chartPlot><chartAxes><chartAxis type="x"><chartLabel fontSize="9" color="rgb(100, 116, 139)"/></chartAxis><chartAxis type="y" position="left" min="0"><chartGridLine color="rgb(226, 232, 240)"/><chartLabel fontSize="9" color="rgb(100, 116, 139)"/></chartAxis></chartAxes></chartPlotArea><chartLegend position="bottom" color="rgb(100, 116, 139)" fontSize="9"/><chartData><dim1><chartField name="x">1月,2月,3月,4月</chartField></dim1><dim2><chartField name="转化率">16,28,19,34</chartField><chartField name="成本">26,25,18,22</chartField></dim2></chartData><chartStyle><chartBackground color="rgba(255, 255, 255, 0)"/><chartFont size="10" color="rgb(94, 108, 132)"/><chartBorder color="rgb(222, 224, 227)" width="0"/><chartColorTheme><color value="rgb(58, 119, 255)"/><color value="rgb(255, 126, 35)"/><color value="rgb(42, 175, 124)"/><color value="rgb(235, 82, 82)"/></chartColorTheme></chartStyle></chart><shape width="272" height="164" topLeftX="344" topLeftY="118" presetHandlers="0" type="rect"><fill><fillColor color="rgba(255, 255, 255, 1)"/></fill><border color="rgba(226, 232, 240, 1)" width="1"/><content fontSize="16" fontFamily="思源黑体" color="rgba(31, 35, 41, 1)"/></shape><shape width="250" height="24" topLeftX="362" topLeftY="132" type="text"><content fontSize="13" fontFamily="思源黑体" color="rgba(20, 27, 38, 1)" bold="true" textAlign="left"><p>平滑折线图</p></content></shape><chart width="236" height="108" topLeftX="362" topLeftY="156"><chartPlotArea><chartPlot type="line"><chartExtra><chartSmooth/></chartExtra><chartPoints shape="circle" size="5" color="rgb(58, 119, 255)"/><chartLines color="rgb(58, 119, 255)" width="2"/></chartPlot><chartAxes><chartAxis type="x"><chartLabel fontSize="9" color="rgb(100, 116, 139)"/></chartAxis><chartAxis type="y" position="left" min="0"><chartGridLine color="rgb(226, 232, 240)"/><chartLabel fontSize="9" color="rgb(100, 116, 139)"/></chartAxis></chartAxes></chartPlotArea><chartLegend position="bottom" color="rgb(100, 116, 139)" fontSize="9"/><chartData><dim1><chartField name="x">1月,2月,3月,4月</chartField></dim1><dim2><chartField name="满意度">42,61,54,78</chartField><chartField name="投诉">50,48,35,41</chartField></dim2></chartData><chartStyle><chartBackground color="rgba(255, 255, 255, 0)"/><chartFont size="10" color="rgb(94, 108, 132)"/><chartBorder color="rgb(222, 224, 227)" width="0"/><chartColorTheme><color value="rgb(58, 119, 255)"/><color value="rgb(255, 126, 35)"/><color value="rgb(42, 175, 124)"/><color value="rgb(235, 82, 82)"/></chartColorTheme></chartStyle></chart><shape width="272" height="164" topLeftX="640" topLeftY="118" presetHandlers="0" type="rect"><fill><fillColor color="rgba(255, 255, 255, 1)"/></fill><border color="rgba(226, 232, 240, 1)" width="1"/><content fontSize="16" fontFamily="思源黑体" color="rgba(31, 35, 41, 1)"/></shape><shape width="250" height="24" topLeftX="658" topLeftY="132" type="text"><content fontSize="13" fontFamily="思源黑体" color="rgba(20, 27, 38, 1)" bold="true" textAlign="left"><p>阶梯折线图</p></content></shape><chart width="236" height="108" topLeftX="658" topLeftY="156"><chartPlotArea><chartPlot type="line"><chartExtra><chartStep/></chartExtra><chartPoints shape="circle" size="5" color="rgb(58, 119, 255)"/><chartLines color="rgb(58, 119, 255)" width="2"/></chartPlot><chartAxes><chartAxis type="x"><chartLabel fontSize="9" color="rgb(100, 116, 139)"/></chartAxis><chartAxis type="y" position="left" min="0"><chartGridLine color="rgb(226, 232, 240)"/><chartLabel fontSize="9" color="rgb(100, 116, 139)"/></chartAxis></chartAxes></chartPlotArea><chartLegend position="bottom" color="rgb(100, 116, 139)" fontSize="9"/><chartData><dim1><chartField name="x">W1,W2,W3,W4</chartField></dim1><dim2><chartField name="版本A">20,20,46,46</chartField><chartField name="版本B">38,54,54,41</chartField></dim2></chartData><chartStyle><chartBackground color="rgba(255, 255, 255, 0)"/><chartFont size="10" color="rgb(94, 108, 132)"/><chartBorder color="rgb(222, 224, 227)" width="0"/><chartColorTheme><color value="rgb(58, 119, 255)"/><color value="rgb(255, 126, 35)"/><color value="rgb(42, 175, 124)"/><color value="rgb(235, 82, 82)"/></chartColorTheme></chartStyle></chart><shape width="100" height="18" topLeftX="810" topLeftY="504" type="text"><content fontSize="10" fontFamily="思源黑体" color="rgba(94, 108, 132, 1)" bold="false" textAlign="right"><p>Chart demo</p></content></shape></data><note><content/></note></slide><slide><style><fill><fillColor color="rgba(248, 250, 252, 1)"/></fill></style><data><shape width="960" height="540" topLeftX="0" topLeftY="0" presetHandlers="0" type="rect"><fill><fillColor color="rgba(248, 250, 252, 1)"/></fill><content fontSize="16" fontFamily="思源黑体" color="rgba(31, 35, 41, 1)"/></shape><shape width="10" height="540" topLeftX="0" topLeftY="0" presetHandlers="0" type="rect"><fill><fillColor color="rgba(58, 119, 255, 1)"/></fill><content fontSize="16" fontFamily="思源黑体" color="rgba(31, 35, 41, 1)"/></shape><shape width="680" height="40" topLeftX="48" topLeftY="34" type="text"><content textType="headline" fontSize="30" fontFamily="思源黑体" color="rgba(20, 27, 38, 1)" bold="true" textAlign="left"><p>饼图覆盖:饼图与环图</p></content></shape><shape width="760" height="28" topLeftX="50" topLeftY="76" type="text"><content fontSize="13" fontFamily="思源黑体" color="rgba(94, 108, 132, 1)" bold="false" textAlign="left"><p>用于展示构成占比;环图通过 innerRadius 配置实现。</p></content></shape><shape width="272" height="164" topLeftX="48" topLeftY="118" presetHandlers="0" type="rect"><fill><fillColor color="rgba(255, 255, 255, 1)"/></fill><border color="rgba(226, 232, 240, 1)" width="1"/><content fontSize="16" fontFamily="思源黑体" color="rgba(31, 35, 41, 1)"/></shape><shape width="250" height="24" topLeftX="66" topLeftY="132" type="text"><content fontSize="13" fontFamily="思源黑体" color="rgba(20, 27, 38, 1)" bold="true" textAlign="left"><p>饼图</p></content></shape><chart width="236" height="108" topLeftX="66" topLeftY="156"><chartPlotArea><chartPlot type="pie" yAxisPosition="right"><chartExtra/><chartLabels color="rgb(94, 108, 132)" position="outside" category="true" value="false" percentage="true" fontSize="10"/><chartSeriesList><chartSeries index="1"><chartSectors borderColor="rgb(255, 255, 255)" innerRadius="0" offsetRadius="0" startAngle="270"/></chartSeries></chartSeriesList></chartPlot></chartPlotArea><chartData><dim1><chartField name="x">搜索,推荐,广告,其他</chartField></dim1><dim2><chartField name="渠道">36,28,22,14</chartField></dim2></chartData><chartStyle><chartBackground color="rgba(255, 255, 255, 0)"/><chartFont size="10" color="rgb(94, 108, 132)"/><chartBorder color="rgb(222, 224, 227)" width="0"/><chartColorTheme><color value="rgb(58, 119, 255)"/><color value="rgb(255, 126, 35)"/><color value="rgb(42, 175, 124)"/><color value="rgb(235, 82, 82)"/></chartColorTheme></chartStyle></chart><shape width="272" height="164" topLeftX="344" topLeftY="118" presetHandlers="0" type="rect"><fill><fillColor color="rgba(255, 255, 255, 1)"/></fill><border color="rgba(226, 232, 240, 1)" width="1"/><content fontSize="16" fontFamily="思源黑体" color="rgba(31, 35, 41, 1)"/></shape><shape width="250" height="24" topLeftX="362" topLeftY="132" type="text"><content fontSize="13" fontFamily="思源黑体" color="rgba(20, 27, 38, 1)" bold="true" textAlign="left"><p>环形图</p></content></shape><chart width="236" height="108" topLeftX="362" topLeftY="156"><chartPlotArea><chartPlot type="pie" yAxisPosition="right"><chartExtra/><chartLabels color="rgb(94, 108, 132)" position="outside" category="true" value="false" percentage="true" fontSize="10"/><chartSeriesList><chartSeries index="1"><chartSectors borderColor="rgb(255, 255, 255)" innerRadius="0.55" offsetRadius="0" startAngle="270"/></chartSeries></chartSeriesList></chartPlot></chartPlotArea><chartData><dim1><chartField name="x">活跃,沉默,流失</chartField></dim1><dim2><chartField name="用户">58,27,15</chartField></dim2></chartData><chartStyle><chartBackground color="rgba(255, 255, 255, 0)"/><chartFont size="10" color="rgb(94, 108, 132)"/><chartBorder color="rgb(222, 224, 227)" width="0"/><chartColorTheme><color value="rgb(58, 119, 255)"/><color value="rgb(255, 126, 35)"/><color value="rgb(42, 175, 124)"/><color value="rgb(235, 82, 82)"/></chartColorTheme></chartStyle></chart><shape width="100" height="18" topLeftX="810" topLeftY="504" type="text"><content fontSize="10" fontFamily="思源黑体" color="rgba(94, 108, 132, 1)" bold="false" textAlign="right"><p>Chart demo</p></content></shape></data><note><content/></note></slide><slide><style><fill><fillColor color="rgba(248, 250, 252, 1)"/></fill></style><data><shape width="960" height="540" topLeftX="0" topLeftY="0" presetHandlers="0" type="rect"><fill><fillColor color="rgba(248, 250, 252, 1)"/></fill><content fontSize="16" fontFamily="思源黑体" color="rgba(31, 35, 41, 1)"/></shape><shape width="10" height="540" topLeftX="0" topLeftY="0" presetHandlers="0" type="rect"><fill><fillColor color="rgba(58, 119, 255, 1)"/></fill><content fontSize="16" fontFamily="思源黑体" color="rgba(31, 35, 41, 1)"/></shape><shape width="680" height="40" topLeftX="48" topLeftY="34" type="text"><content textType="headline" fontSize="30" fontFamily="思源黑体" color="rgba(20, 27, 38, 1)" bold="true" textAlign="left"><p>条形图覆盖:并列、堆叠、百分比堆叠</p></content></shape><shape width="760" height="28" topLeftX="50" topLeftY="76" type="text"><content fontSize="13" fontFamily="思源黑体" color="rgba(94, 108, 132, 1)" bold="false" textAlign="left"><p>横向条形适合品类排序和多系列对比。</p></content></shape><shape width="272" height="164" topLeftX="48" topLeftY="118" presetHandlers="0" type="rect"><fill><fillColor color="rgba(255, 255, 255, 1)"/></fill><border color="rgba(226, 232, 240, 1)" width="1"/><content fontSize="16" fontFamily="思源黑体" color="rgba(31, 35, 41, 1)"/></shape><shape width="250" height="24" topLeftX="66" topLeftY="132" type="text"><content fontSize="13" fontFamily="思源黑体" color="rgba(20, 27, 38, 1)" bold="true" textAlign="left"><p>并列条形图</p></content></shape><chart width="236" height="108" topLeftX="66" topLeftY="156"><chartPlotArea><chartPlot type="bar"><chartExtra/><chartBars gap="0.28"/></chartPlot><chartAxes><chartAxis type="y" position="left" min="0"><chartGridLine color="rgb(226, 232, 240)"/><chartLabel fontSize="9" color="rgb(100, 116, 139)"/></chartAxis><chartAxis type="x"><chartGridLine color="rgb(229, 230, 235)"/><chartLabel fontSize="9" color="rgb(100, 116, 139)"/></chartAxis></chartAxes></chartPlotArea><chartLegend position="bottom" color="rgb(100, 116, 139)" fontSize="9"/><chartData><dim1><chartField name="x">华东,华南,华北</chartField></dim1><dim2><chartField name="目标">62,74,58</chartField><chartField name="实际">55,81,63</chartField></dim2></chartData><chartStyle><chartBackground color="rgba(255, 255, 255, 0)"/><chartFont size="10" color="rgb(94, 108, 132)"/><chartBorder color="rgb(222, 224, 227)" width="0"/><chartColorTheme><color value="rgb(58, 119, 255)"/><color value="rgb(255, 126, 35)"/><color value="rgb(42, 175, 124)"/><color value="rgb(235, 82, 82)"/></chartColorTheme></chartStyle></chart><shape width="272" height="164" topLeftX="344" topLeftY="118" presetHandlers="0" type="rect"><fill><fillColor color="rgba(255, 255, 255, 1)"/></fill><border color="rgba(226, 232, 240, 1)" width="1"/><content fontSize="16" fontFamily="思源黑体" color="rgba(31, 35, 41, 1)"/></shape><shape width="250" height="24" topLeftX="362" topLeftY="132" type="text"><content fontSize="13" fontFamily="思源黑体" color="rgba(20, 27, 38, 1)" bold="true" textAlign="left"><p>堆叠条形图</p></content></shape><chart width="236" height="108" topLeftX="362" topLeftY="156"><chartPlotArea><chartPlot type="bar"><chartExtra><chartStack/></chartExtra><chartBars gap="0.28"/></chartPlot><chartAxes><chartAxis type="y" position="left" min="0"><chartGridLine color="rgb(226, 232, 240)"/><chartLabel fontSize="9" color="rgb(100, 116, 139)"/></chartAxis><chartAxis type="x"><chartGridLine color="rgb(229, 230, 235)"/><chartLabel fontSize="9" color="rgb(100, 116, 139)"/></chartAxis></chartAxes></chartPlotArea><chartLegend position="bottom" color="rgb(100, 116, 139)" fontSize="9"/><chartData><dim1><chartField name="x">会员,游客,渠道</chartField></dim1><dim2><chartField name="自然">32,28,22</chartField><chartField name="活动">26,31,36</chartField></dim2></chartData><chartStyle><chartBackground color="rgba(255, 255, 255, 0)"/><chartFont size="10" color="rgb(94, 108, 132)"/><chartBorder color="rgb(222, 224, 227)" width="0"/><chartColorTheme><color value="rgb(58, 119, 255)"/><color value="rgb(255, 126, 35)"/><color value="rgb(42, 175, 124)"/><color value="rgb(235, 82, 82)"/></chartColorTheme></chartStyle></chart><shape width="272" height="164" topLeftX="640" topLeftY="118" presetHandlers="0" type="rect"><fill><fillColor color="rgba(255, 255, 255, 1)"/></fill><border color="rgba(226, 232, 240, 1)" width="1"/><content fontSize="16" fontFamily="思源黑体" color="rgba(31, 35, 41, 1)"/></shape><shape width="250" height="24" topLeftX="658" topLeftY="132" type="text"><content fontSize="13" fontFamily="思源黑体" color="rgba(20, 27, 38, 1)" bold="true" textAlign="left"><p>百分比堆叠条形图</p></content></shape><chart width="236" height="108" topLeftX="658" topLeftY="156"><chartPlotArea><chartPlot type="bar"><chartExtra><chartStack percentage="true"/></chartExtra><chartBars gap="0.28"/></chartPlot><chartAxes><chartAxis type="y" position="left" max="100" min="0"><chartGridLine color="rgb(226, 232, 240)"/><chartLabel fontSize="9" color="rgb(100, 116, 139)"/></chartAxis><chartAxis type="x"><chartGridLine color="rgb(229, 230, 235)"/><chartLabel fontSize="9" color="rgb(100, 116, 139)"/></chartAxis></chartAxes></chartPlotArea><chartLegend position="bottom" color="rgb(100, 116, 139)" fontSize="9"/><chartData><dim1><chartField name="x">探索,购买,复购</chartField></dim1><dim2><chartField name="A组">54,61,67</chartField><chartField name="B组">46,39,33</chartField></dim2></chartData><chartStyle><chartBackground color="rgba(255, 255, 255, 0)"/><chartFont size="10" color="rgb(94, 108, 132)"/><chartBorder color="rgb(222, 224, 227)" width="0"/><chartColorTheme><color value="rgb(58, 119, 255)"/><color value="rgb(255, 126, 35)"/><color value="rgb(42, 175, 124)"/><color value="rgb(235, 82, 82)"/></chartColorTheme></chartStyle></chart><shape width="100" height="18" topLeftX="810" topLeftY="504" type="text"><content fontSize="10" fontFamily="思源黑体" color="rgba(94, 108, 132, 1)" bold="false" textAlign="right"><p>Chart demo</p></content></shape></data><note><content/></note></slide><slide><style><fill><fillColor color="rgba(248, 250, 252, 1)"/></fill></style><data><shape width="960" height="540" topLeftX="0" topLeftY="0" presetHandlers="0" type="rect"><fill><fillColor color="rgba(248, 250, 252, 1)"/></fill><content fontSize="16" fontFamily="思源黑体" color="rgba(31, 35, 41, 1)"/></shape><shape width="10" height="540" topLeftX="0" topLeftY="0" presetHandlers="0" type="rect"><fill><fillColor color="rgba(58, 119, 255, 1)"/></fill><content fontSize="16" fontFamily="思源黑体" color="rgba(31, 35, 41, 1)"/></shape><shape width="680" height="40" topLeftX="48" topLeftY="34" type="text"><content textType="headline" fontSize="30" fontFamily="思源黑体" color="rgba(20, 27, 38, 1)" bold="true" textAlign="left"><p>面积图覆盖:普通、堆叠、百分比堆叠</p></content></shape><shape width="760" height="28" topLeftX="50" topLeftY="76" type="text"><content fontSize="13" fontFamily="思源黑体" color="rgba(94, 108, 132, 1)" bold="false" textAlign="left"><p>强调趋势下方的体量感,也可以表达多系列累计。</p></content></shape><shape width="272" height="164" topLeftX="48" topLeftY="118" presetHandlers="0" type="rect"><fill><fillColor color="rgba(255, 255, 255, 1)"/></fill><border color="rgba(226, 232, 240, 1)" width="1"/><content fontSize="16" fontFamily="思源黑体" color="rgba(31, 35, 41, 1)"/></shape><shape width="250" height="24" topLeftX="66" topLeftY="132" type="text"><content fontSize="13" fontFamily="思源黑体" color="rgba(20, 27, 38, 1)" bold="true" textAlign="left"><p>普通面积图</p></content></shape><chart width="236" height="108" topLeftX="66" topLeftY="156"><chartPlotArea><chartPlot type="area"><chartExtra/><chartPoints shape="circle" size="5" color="rgb(58, 119, 255)"/><chartLines color="rgb(58, 119, 255)" width="2"/><chartAreas color="rgba(58, 119, 255, 0.22)"/></chartPlot><chartAxes><chartAxis type="x"><chartLabel fontSize="9" color="rgb(100, 116, 139)"/></chartAxis><chartAxis type="y" position="left" min="0"><chartGridLine color="rgb(226, 232, 240)"/><chartLabel fontSize="9" color="rgb(100, 116, 139)"/></chartAxis></chartAxes></chartPlotArea><chartLegend position="bottom" color="rgb(100, 116, 139)" fontSize="9"/><chartData><dim1><chartField name="x">周一,周二,周三,周四</chartField></dim1><dim2><chartField name="曝光">24,60,32,55</chartField><chartField name="点击">16,38,27,42</chartField></dim2></chartData><chartStyle><chartBackground color="rgba(255, 255, 255, 0)"/><chartFont size="10" color="rgb(94, 108, 132)"/><chartBorder color="rgb(222, 224, 227)" width="0"/><chartColorTheme><color value="rgb(58, 119, 255)"/><color value="rgb(255, 126, 35)"/><color value="rgb(42, 175, 124)"/><color value="rgb(235, 82, 82)"/></chartColorTheme></chartStyle></chart><shape width="272" height="164" topLeftX="344" topLeftY="118" presetHandlers="0" type="rect"><fill><fillColor color="rgba(255, 255, 255, 1)"/></fill><border color="rgba(226, 232, 240, 1)" width="1"/><content fontSize="16" fontFamily="思源黑体" color="rgba(31, 35, 41, 1)"/></shape><shape width="250" height="24" topLeftX="362" topLeftY="132" type="text"><content fontSize="13" fontFamily="思源黑体" color="rgba(20, 27, 38, 1)" bold="true" textAlign="left"><p>堆叠面积图</p></content></shape><chart width="236" height="108" topLeftX="362" topLeftY="156"><chartPlotArea><chartPlot type="area"><chartExtra><chartStack/></chartExtra><chartPoints shape="circle" size="5" color="rgb(58, 119, 255)"/><chartLines color="rgb(58, 119, 255)" width="2"/><chartAreas color="rgba(58, 119, 255, 0.22)"/></chartPlot><chartAxes><chartAxis type="x"><chartLabel fontSize="9" color="rgb(100, 116, 139)"/></chartAxis><chartAxis type="y" position="left" min="0"><chartGridLine color="rgb(226, 232, 240)"/><chartLabel fontSize="9" color="rgb(100, 116, 139)"/></chartAxis></chartAxes></chartPlotArea><chartLegend position="bottom" color="rgb(100, 116, 139)" fontSize="9"/><chartData><dim1><chartField name="x">1月,2月,3月,4月</chartField></dim1><dim2><chartField name="自然">22,36,31,46</chartField><chartField name="付费">18,25,28,35</chartField></dim2></chartData><chartStyle><chartBackground color="rgba(255, 255, 255, 0)"/><chartFont size="10" color="rgb(94, 108, 132)"/><chartBorder color="rgb(222, 224, 227)" width="0"/><chartColorTheme><color value="rgb(58, 119, 255)"/><color value="rgb(255, 126, 35)"/><color value="rgb(42, 175, 124)"/><color value="rgb(235, 82, 82)"/></chartColorTheme></chartStyle></chart><shape width="272" height="164" topLeftX="640" topLeftY="118" presetHandlers="0" type="rect"><fill><fillColor color="rgba(255, 255, 255, 1)"/></fill><border color="rgba(226, 232, 240, 1)" width="1"/><content fontSize="16" fontFamily="思源黑体" color="rgba(31, 35, 41, 1)"/></shape><shape width="250" height="24" topLeftX="658" topLeftY="132" type="text"><content fontSize="13" fontFamily="思源黑体" color="rgba(20, 27, 38, 1)" bold="true" textAlign="left"><p>百分比堆叠面积图</p></content></shape><chart width="236" height="108" topLeftX="658" topLeftY="156"><chartPlotArea><chartPlot type="area"><chartExtra><chartStack percentage="true"/></chartExtra><chartPoints shape="circle" size="5" color="rgb(58, 119, 255)"/><chartLines color="rgb(58, 119, 255)" width="2"/><chartAreas color="rgba(58, 119, 255, 0.22)"/></chartPlot><chartAxes><chartAxis type="x"><chartLabel fontSize="9" color="rgb(100, 116, 139)"/></chartAxis><chartAxis type="y" position="left" max="100" min="0"><chartGridLine color="rgb(226, 232, 240)"/><chartLabel fontSize="9" color="rgb(100, 116, 139)"/></chartAxis></chartAxes></chartPlotArea><chartLegend position="bottom" color="rgb(100, 116, 139)" fontSize="9"/><chartData><dim1><chartField name="x">A,B,C,D</chartField></dim1><dim2><chartField name="桌面">42,38,35,40</chartField><chartField name="移动">58,62,65,60</chartField></dim2></chartData><chartStyle><chartBackground color="rgba(255, 255, 255, 0)"/><chartFont size="10" color="rgb(94, 108, 132)"/><chartBorder color="rgb(222, 224, 227)" width="0"/><chartColorTheme><color value="rgb(58, 119, 255)"/><color value="rgb(255, 126, 35)"/><color value="rgb(42, 175, 124)"/><color value="rgb(235, 82, 82)"/></chartColorTheme></chartStyle></chart><shape width="100" height="18" topLeftX="810" topLeftY="504" type="text"><content fontSize="10" fontFamily="思源黑体" color="rgba(94, 108, 132, 1)" bold="false" textAlign="right"><p>Chart demo</p></content></shape></data><note><content/></note></slide><slide><style><fill><fillColor color="rgba(248, 250, 252, 1)"/></fill></style><data><shape width="960" height="540" topLeftX="0" topLeftY="0" presetHandlers="0" type="rect"><fill><fillColor color="rgba(248, 250, 252, 1)"/></fill><content fontSize="16" fontFamily="思源黑体" color="rgba(31, 35, 41, 1)"/></shape><shape width="10" height="540" topLeftX="0" topLeftY="0" presetHandlers="0" type="rect"><fill><fillColor color="rgba(58, 119, 255, 1)"/></fill><content fontSize="16" fontFamily="思源黑体" color="rgba(31, 35, 41, 1)"/></shape><shape width="680" height="40" topLeftX="48" topLeftY="34" type="text"><content textType="headline" fontSize="30" fontFamily="思源黑体" color="rgba(20, 27, 38, 1)" bold="true" textAlign="left"><p>散点、气泡与组合图覆盖</p></content></shape><shape width="760" height="28" topLeftX="50" topLeftY="76" type="text"><content fontSize="13" fontFamily="思源黑体" color="rgba(94, 108, 132, 1)" bold="false" textAlign="left"><p>散点和气泡用 SVG whiteboard,组合图用原生 combo 混合柱线。</p></content></shape><shape width="272" height="164" topLeftX="48" topLeftY="118" presetHandlers="0" type="rect"><fill><fillColor color="rgba(255, 255, 255, 1)"/></fill><border color="rgba(226, 232, 240, 1)" width="1"/><content fontSize="16" fontFamily="思源黑体" color="rgba(31, 35, 41, 1)"/></shape><shape width="250" height="24" topLeftX="66" topLeftY="132" type="text"><content fontSize="13" fontFamily="思源黑体" color="rgba(20, 27, 38, 1)" bold="true" textAlign="left"><p>散点图</p></content></shape><whiteboard width="236" height="108" topLeftX="66" topLeftY="156"/><shape width="272" height="164" topLeftX="344" topLeftY="118" presetHandlers="0" type="rect"><fill><fillColor color="rgba(255, 255, 255, 1)"/></fill><border color="rgba(226, 232, 240, 1)" width="1"/><content fontSize="16" fontFamily="思源黑体" color="rgba(31, 35, 41, 1)"/></shape><shape width="250" height="24" topLeftX="362" topLeftY="132" type="text"><content fontSize="13" fontFamily="思源黑体" color="rgba(20, 27, 38, 1)" bold="true" textAlign="left"><p>气泡图</p></content></shape><whiteboard width="236" height="108" topLeftX="362" topLeftY="156"/><shape width="272" height="164" topLeftX="640" topLeftY="118" presetHandlers="0" type="rect"><fill><fillColor color="rgba(255, 255, 255, 1)"/></fill><border color="rgba(226, 232, 240, 1)" width="1"/><content fontSize="16" fontFamily="思源黑体" color="rgba(31, 35, 41, 1)"/></shape><shape width="250" height="24" topLeftX="658" topLeftY="132" type="text"><content fontSize="13" fontFamily="思源黑体" color="rgba(20, 27, 38, 1)" bold="true" textAlign="left"><p>组合图</p></content></shape><whiteboard width="236" height="108" topLeftX="658" topLeftY="156"/><shape width="100" height="18" topLeftX="810" topLeftY="504" type="text"><content fontSize="10" fontFamily="思源黑体" color="rgba(94, 108, 132, 1)" bold="false" textAlign="right"><p>Chart demo</p></content></shape></data><note><content/></note></slide><slide><style><fill><fillColor color="rgba(248, 250, 252, 1)"/></fill></style><data><shape width="960" height="540" topLeftX="0" topLeftY="0" presetHandlers="0" type="rect"><fill><fillColor color="rgba(248, 250, 252, 1)"/></fill><content fontSize="16" fontFamily="思源黑体" color="rgba(31, 35, 41, 1)"/></shape><shape width="10" height="540" topLeftX="0" topLeftY="0" presetHandlers="0" type="rect"><fill><fillColor color="rgba(58, 119, 255, 1)"/></fill><content fontSize="16" fontFamily="思源黑体" color="rgba(31, 35, 41, 1)"/></shape><shape width="680" height="40" topLeftX="48" topLeftY="34" type="text"><content textType="headline" fontSize="30" fontFamily="思源黑体" color="rgba(20, 27, 38, 1)" bold="true" textAlign="left"><p>雷达图覆盖:填充、多边形、圆形轮廓</p></content></shape><shape width="760" height="28" topLeftX="50" topLeftY="76" type="text"><content fontSize="13" fontFamily="思源黑体" color="rgba(94, 108, 132, 1)" bold="false" textAlign="left"><p>用于能力维度对比,覆盖面积填充和不同轮廓形态。</p></content></shape><shape width="272" height="164" topLeftX="48" topLeftY="118" presetHandlers="0" type="rect"><fill><fillColor color="rgba(255, 255, 255, 1)"/></fill><border color="rgba(226, 232, 240, 1)" width="1"/><content fontSize="16" fontFamily="思源黑体" color="rgba(31, 35, 41, 1)"/></shape><shape width="250" height="24" topLeftX="66" topLeftY="132" type="text"><content fontSize="13" fontFamily="思源黑体" color="rgba(20, 27, 38, 1)" bold="true" textAlign="left"><p>填充雷达图</p></content></shape><chart width="236" height="108" topLeftX="66" topLeftY="156"><chartPlotArea><chartPlot type="radar"><chartExtra><chartRadar/></chartExtra><chartPoints shape="circle" size="5" color="rgb(58, 119, 255)"/><chartLines color="rgb(58, 119, 255)" width="2"/><chartAreas color="rgba(58, 119, 255, 0.22)"/></chartPlot><chartAxes><chartAxis type="angle"><chartLabel fontSize="9" color="rgb(100, 116, 139)"/></chartAxis><chartAxis type="radius" max="100" min="0"><chartGridLine color="rgb(226, 232, 240)"/></chartAxis></chartAxes></chartPlotArea><chartLegend position="bottom" color="rgb(100, 116, 139)" fontSize="9"/><chartData><dim1><chartField name="x">增长,留存,转化,效率,质量</chartField></dim1><dim2><chartField name="A方案">72,64,81,58,69</chartField></dim2></chartData><chartStyle><chartBackground color="rgba(255, 255, 255, 0)"/><chartFont size="10" color="rgb(94, 108, 132)"/><chartBorder color="rgb(222, 224, 227)" width="0"/><chartColorTheme><color value="rgb(58, 119, 255)"/><color value="rgb(255, 126, 35)"/><color value="rgb(42, 175, 124)"/><color value="rgb(235, 82, 82)"/></chartColorTheme></chartStyle></chart><shape width="272" height="164" topLeftX="344" topLeftY="118" presetHandlers="0" type="rect"><fill><fillColor color="rgba(255, 255, 255, 1)"/></fill><border color="rgba(226, 232, 240, 1)" width="1"/><content fontSize="16" fontFamily="思源黑体" color="rgba(31, 35, 41, 1)"/></shape><shape width="250" height="24" topLeftX="362" topLeftY="132" type="text"><content fontSize="13" fontFamily="思源黑体" color="rgba(20, 27, 38, 1)" bold="true" textAlign="left"><p>多边形雷达图</p></content></shape><chart width="236" height="108" topLeftX="362" topLeftY="156"><chartPlotArea><chartPlot type="radar"><chartExtra><chartSmooth/><chartRadar shape="circle"/></chartExtra><chartPoints shape="circle" size="5" color="rgb(58, 119, 255)"/><chartLines color="rgb(58, 119, 255)" width="2"/><chartAreas color="rgba(58, 119, 255, 0.22)"/></chartPlot><chartAxes><chartAxis type="angle"><chartLabel fontSize="9" color="rgb(100, 116, 139)"/></chartAxis><chartAxis type="radius" max="100" min="0"><chartGridLine color="rgb(226, 232, 240)"/></chartAxis></chartAxes></chartPlotArea><chartLegend position="bottom" color="rgb(100, 116, 139)" fontSize="9"/><chartData><dim1><chartField name="x">速度,成本,稳定,体验,覆盖</chartField></dim1><dim2><chartField name="方案B">63,74,55,82,68</chartField></dim2></chartData><chartStyle><chartBackground color="rgba(255, 255, 255, 0)"/><chartFont size="10" color="rgb(94, 108, 132)"/><chartBorder color="rgb(222, 224, 227)" width="0"/><chartColorTheme><color value="rgb(58, 119, 255)"/><color value="rgb(255, 126, 35)"/><color value="rgb(42, 175, 124)"/><color value="rgb(235, 82, 82)"/></chartColorTheme></chartStyle></chart><shape width="272" height="164" topLeftX="640" topLeftY="118" presetHandlers="0" type="rect"><fill><fillColor color="rgba(255, 255, 255, 1)"/></fill><border color="rgba(226, 232, 240, 1)" width="1"/><content fontSize="16" fontFamily="思源黑体" color="rgba(31, 35, 41, 1)"/></shape><shape width="250" height="24" topLeftX="658" topLeftY="132" type="text"><content fontSize="13" fontFamily="思源黑体" color="rgba(20, 27, 38, 1)" bold="true" textAlign="left"><p>多系列雷达图</p></content></shape><chart width="236" height="108" topLeftX="658" topLeftY="156"><chartPlotArea><chartPlot type="radar"><chartExtra><chartRadar/></chartExtra><chartPoints shape="circle" size="5" color="rgb(58, 119, 255)"/><chartLines color="rgb(58, 119, 255)" width="2"/><chartAreas color="rgba(58, 119, 255, 0.22)"/></chartPlot><chartAxes><chartAxis type="angle"><chartLabel fontSize="9" color="rgb(100, 116, 139)"/></chartAxis><chartAxis type="radius" max="100" min="0"><chartGridLine color="rgb(226, 232, 240)"/></chartAxis></chartAxes></chartPlotArea><chartLegend position="bottom" color="rgb(100, 116, 139)" fontSize="9"/><chartData><dim1><chartField name="x">获客,激活,留存,收入,推荐</chartField></dim1><dim2><chartField name="2025">58,68,64,52,61</chartField><chartField name="2026">74,76,72,69,78</chartField></dim2></chartData><chartStyle><chartBackground color="rgba(255, 255, 255, 0)"/><chartFont size="10" color="rgb(94, 108, 132)"/><chartBorder color="rgb(222, 224, 227)" width="0"/><chartColorTheme><color value="rgb(58, 119, 255)"/><color value="rgb(255, 126, 35)"/><color value="rgb(42, 175, 124)"/><color value="rgb(235, 82, 82)"/></chartColorTheme></chartStyle></chart><shape width="100" height="18" topLeftX="810" topLeftY="504" type="text"><content fontSize="10" fontFamily="思源黑体" color="rgba(94, 108, 132, 1)" bold="false" textAlign="right"><p>Chart demo</p></content></shape></data><note><content/></note></slide><slide><style><fill><fillColor color="rgba(248, 250, 252, 1)"/></fill></style><data><shape width="960" height="540" topLeftX="0" topLeftY="0" presetHandlers="0" type="rect"><fill><fillColor color="rgba(248, 250, 252, 1)"/></fill><content fontSize="16" fontFamily="思源黑体" color="rgba(31, 35, 41, 1)"/></shape><shape width="10" height="540" topLeftX="0" topLeftY="0" presetHandlers="0" type="rect"><fill><fillColor color="rgba(58, 119, 255, 1)"/></fill><content fontSize="16" fontFamily="思源黑体" color="rgba(31, 35, 41, 1)"/></shape><shape width="680" height="40" topLeftX="48" topLeftY="34" type="text"><content textType="headline" fontSize="30" fontFamily="思源黑体" color="rgba(20, 27, 38, 1)" bold="true" textAlign="left"><p>其他图表覆盖:词云、漏斗、帕累托、瀑布</p></content></shape><shape width="760" height="28" topLeftX="50" topLeftY="76" type="text"><content fontSize="13" fontFamily="思源黑体" color="rgba(94, 108, 132, 1)" bold="false" textAlign="left"><p>这四类以 SVG whiteboard 精确绘制,适合作为可视化组件 demo。</p></content></shape><shape width="272" height="164" topLeftX="48" topLeftY="118" presetHandlers="0" type="rect"><fill><fillColor color="rgba(255, 255, 255, 1)"/></fill><border color="rgba(226, 232, 240, 1)" width="1"/><content fontSize="16" fontFamily="思源黑体" color="rgba(31, 35, 41, 1)"/></shape><shape width="250" height="24" topLeftX="66" topLeftY="132" type="text"><content fontSize="13" fontFamily="思源黑体" color="rgba(20, 27, 38, 1)" bold="true" textAlign="left"><p>词云</p></content></shape><whiteboard width="236" height="108" topLeftX="66" topLeftY="156"/><shape width="272" height="164" topLeftX="344" topLeftY="118" presetHandlers="0" type="rect"><fill><fillColor color="rgba(255, 255, 255, 1)"/></fill><border color="rgba(226, 232, 240, 1)" width="1"/><content fontSize="16" fontFamily="思源黑体" color="rgba(31, 35, 41, 1)"/></shape><shape width="250" height="24" topLeftX="362" topLeftY="132" type="text"><content fontSize="13" fontFamily="思源黑体" color="rgba(20, 27, 38, 1)" bold="true" textAlign="left"><p>漏斗图</p></content></shape><whiteboard width="236" height="108" topLeftX="362" topLeftY="156"/><shape width="272" height="164" topLeftX="640" topLeftY="118" presetHandlers="0" type="rect"><fill><fillColor color="rgba(255, 255, 255, 1)"/></fill><border color="rgba(226, 232, 240, 1)" width="1"/><content fontSize="16" fontFamily="思源黑体" color="rgba(31, 35, 41, 1)"/></shape><shape width="250" height="24" topLeftX="658" topLeftY="132" type="text"><content fontSize="13" fontFamily="思源黑体" color="rgba(20, 27, 38, 1)" bold="true" textAlign="left"><p>帕累托图</p></content></shape><whiteboard width="236" height="108" topLeftX="658" topLeftY="156"/><shape width="272" height="164" topLeftX="48" topLeftY="322" presetHandlers="0" type="rect"><fill><fillColor color="rgba(255, 255, 255, 1)"/></fill><border color="rgba(226, 232, 240, 1)" width="1"/><content fontSize="16" fontFamily="思源黑体" color="rgba(31, 35, 41, 1)"/></shape><shape width="250" height="24" topLeftX="66" topLeftY="336" type="text"><content fontSize="13" fontFamily="思源黑体" color="rgba(20, 27, 38, 1)" bold="true" textAlign="left"><p>瀑布图</p></content></shape><whiteboard width="236" height="108" topLeftX="66" topLeftY="360"/><shape width="100" height="18" topLeftX="810" topLeftY="504" type="text"><content fontSize="10" fontFamily="思源黑体" color="rgba(94, 108, 132, 1)" bold="false" textAlign="right"><p>Chart demo</p></content></shape></data><note><content/></note></slide></presentation> No newline at end of file | |||
There was a problem hiding this comment.
🎯 Functional Correctness | 🟠 Major | 🏗️ Heavy lift
Populate the whiteboard examples instead of leaving them blank.
These slides currently advertise scatter, bubble, funnel, pareto, waterfall, and combo coverage, but every <whiteboard> here is self-closing. That means the demo renders empty placeholders, and the combo slide is especially misleading because combo is already a supported native <chart> type in this repo’s chart contract. Please embed the actual SVG/Mermaid payloads or switch combo back to a native chart example.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@skills/lark-slides/references/slides_chart_demo.xml` at line 1, The
whiteboard demo slots are empty self-closing placeholders, so the scatter,
bubble, funnel, pareto, waterfall, and combo examples render as blank cards.
Update the `<whiteboard>` instances in slides_chart_demo.xml to include the
actual SVG/Mermaid payloads for those charts, using the existing whiteboard
elements as the locators. For the combo example, either populate it with a real
whiteboard payload or replace it with a native `<chart>` example, since combo is
already supported by the chart contract.
🚀 PR Preview Install Guide🧰 CLI updatenpm i -g https://pkg.pr.new/larksuite/cli/@larksuite/cli@c5eb6e7da73ab60cee80725acf7e5ff114f03913🧩 Skill updatenpx skills add larksuite/cli#feat/slides_chart_demo -y -g |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1769 +/- ##
==========================================
+ Coverage 74.43% 74.45% +0.02%
==========================================
Files 854 855 +1
Lines 88490 88564 +74
==========================================
+ Hits 65867 65944 +77
+ Misses 17554 17548 -6
- Partials 5069 5072 +3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
1b7f01f to
c5eb6e7
Compare
There was a problem hiding this comment.
Actionable comments posted: 1
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
skills/lark-slides/references/slides_chart_demo.xml (1)
2-2: 🎯 Functional Correctness | 🔴 Critical | ⚡ Quick winRemove the stray trailing
2.
A literal2after</presentation>makes the XML malformed and will break parsing/loading.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@skills/lark-slides/references/slides_chart_demo.xml` at line 2, Remove the stray trailing literal after the closing presentation tag in the slides_chart_demo XML so the document remains well-formed and parsable. Update the presentation markup to end cleanly at the closing tag, and verify there are no extra characters appended after the root element.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@skills/lark-slides/references/lark-slides-whiteboard.md`:
- Around line 64-71: The model-path table in the whiteboard reference is too
broad: scatter and funnel visuals must stay on the SVG route and should not be
redirected to Mermaid for any model. Update the guidance around the third step
and the model mapping so that scatter/funnel remain explicitly included in the
SVG path, while only truly Mermaid-friendly decorative/diagram cases use Mermaid
for lower-capability models. Keep the fix anchored in the
“第三步:非原生图表与装饰元素按模型身份选路径” section and the model identity table.
---
Outside diff comments:
In `@skills/lark-slides/references/slides_chart_demo.xml`:
- Line 2: Remove the stray trailing literal after the closing presentation tag
in the slides_chart_demo XML so the document remains well-formed and parsable.
Update the presentation markup to end cleanly at the closing tag, and verify
there are no extra characters appended after the root element.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 93d6ba1c-98c1-4e82-9fc9-0d39ed3ac2eb
📒 Files selected for processing (5)
skills/lark-slides/references/lark-slides-whiteboard.mdskills/lark-slides/references/slides_chart_demo.xmlskills/lark-slides/references/slides_xml_schema_definition.xmlskills/lark-slides/references/xml-format-guide.mdskills/lark-slides/references/xml-schema-quick-ref.md
✅ Files skipped from review due to trivial changes (3)
- skills/lark-slides/references/xml-schema-quick-ref.md
- skills/lark-slides/references/slides_xml_schema_definition.xml
- skills/lark-slides/references/xml-format-guide.md
| ### 第三步:非原生图表与装饰元素按模型身份选路径 | ||
|
|
||
| 上表以外的场景(散点图、漏斗图、进度条、时间线、波浪背景、星点纹理等)需要精确控制坐标和配色,SVG 表达力更强,但各模型生成 SVG 的能力有差异: | ||
|
|
||
| | 模型身份 | 路径 | | ||
| |----------|------| | ||
| | Claude / Gemini / GPT / GLM | **SVG** — 精确控制坐标、颜色、透明度 | | ||
| | Doubao / Seed / Other | **Mermaid** — 用 `pie`、`gantt` 等近似表达;确实无法用 Mermaid 表达时才回退到简单 SVG 矩形/线条 | | ||
| | Doubao / Seed / Other | **Mermaid** — 用 `gantt`、`flowchart` 等近似表达;确实无法用 Mermaid 表达时才回退到简单 SVG 矩形/线条 | |
There was a problem hiding this comment.
🎯 Functional Correctness | 🟠 Major | ⚡ Quick win
Keep scatter/funnel on the SVG path.
The table now sends unsupported data visuals to Mermaid for some models, but the repo contract explicitly maps scatter/funnel to <whiteboard> SVG. That mismatch can produce the wrong renderer choice.
Suggested adjustment
-| 上表以外的场景(散点图、漏斗图、进度条、时间线、波浪背景、星点纹理等)需要精确控制坐标和配色,SVG 表达力更强,但各模型生成 SVG 的能力有差异:
+| 上表以外的场景(散点图、漏斗图、进度条、时间线、波浪背景、星点纹理等)统一走 `<whiteboard>` SVG;如果需要降级,请简化图形本身,而不是切换到 Mermaid:
@@
-| Doubao / Seed / Other | **Mermaid** — 用 `gantt`、`flowchart` 等近似表达;确实无法用 Mermaid 表达时才回退到简单 SVG 矩形/线条
+| Doubao / Seed / Other | **SVG** — 用更简单的坐标/标注表达降级;不要把散点/漏斗这类数据视觉切到 Mermaid📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| ### 第三步:非原生图表与装饰元素按模型身份选路径 | |
| 上表以外的场景(散点图、漏斗图、进度条、时间线、波浪背景、星点纹理等)需要精确控制坐标和配色,SVG 表达力更强,但各模型生成 SVG 的能力有差异: | |
| | 模型身份 | 路径 | | |
| |----------|------| | |
| | Claude / Gemini / GPT / GLM | **SVG** — 精确控制坐标、颜色、透明度 | | |
| | Doubao / Seed / Other | **Mermaid** — 用 `pie`、`gantt` 等近似表达;确实无法用 Mermaid 表达时才回退到简单 SVG 矩形/线条 | | |
| | Doubao / Seed / Other | **Mermaid** — 用 `gantt`、`flowchart` 等近似表达;确实无法用 Mermaid 表达时才回退到简单 SVG 矩形/线条 | | |
| ### 第三步:非原生图表与装饰元素按模型身份选路径 | |
| 上表以外的场景(散点图、漏斗图、进度条、时间线、波浪背景、星点纹理等)统一走 `<whiteboard>` SVG;如果需要降级,请简化图形本身,而不是切换到 Mermaid: | |
| | 模型身份 | 路径 | | |
| |----------|------| | |
| | Claude / Gemini / GPT / GLM | **SVG** — 精确控制坐标、颜色、透明度 | | |
| | Doubao / Seed / Other | **SVG** — 用更简单的坐标/标注表达降级;不要把散点/漏斗这类数据视觉切到 Mermaid | |
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@skills/lark-slides/references/lark-slides-whiteboard.md` around lines 64 -
71, The model-path table in the whiteboard reference is too broad: scatter and
funnel visuals must stay on the SVG route and should not be redirected to
Mermaid for any model. Update the guidance around the third step and the model
mapping so that scatter/funnel remain explicitly included in the SVG path, while
only truly Mermaid-friendly decorative/diagram cases use Mermaid for
lower-capability models. Keep the fix anchored in the “第三步:非原生图表与装饰元素按模型身份选路径”
section and the model identity table.
Summary
Add a lark-slides chart demo reference and point the XML format guide to it so agents have a concrete chart XML example to follow.
Changes
slides_chart_demo.xmlcovering native chart examples and SVG-backed whiteboard chart examples.xml-format-guide.mdwith a link to the full demo and a compact column chart snippet.Test Plan
lark-cli <domain> <command>flow works as expectedNot run. This is a documentation/reference-only change, and no build or test command was requested for this turn.
Related Issues
Summary by CodeRabbit