返回 ppt-master
line_chart.svg
根目录 / skills / ppt-master / templates / charts / line_chart.svg
1 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 720" width="1280" height="720"
2 font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif">
3 <!-- Line chart: two time series on one shared value axis. -->
4 <rect width="1280" height="720" fill="#FFFFFF"/>
5
6 <!-- Header -->
7 <g id="header" data-pptx-bounds="60 40 1160 82">
8 <text x="60" y="80" font-size="32" font-weight="800" fill="#0F172A">Revenue &amp; Net Profit Trend</text>
9 <text x="60" y="112" font-size="15" font-weight="600" fill="#64748B" letter-spacing="1">FISCAL YEAR 2025 · JAN TO DEC · VALUES IN USD MILLIONS</text>
10 </g>
11
12 <!-- Native chart replacement scope -->
13 <g id="line-chart" data-pptx-bounds="90 140 1090 460"
14 data-pptx-replace-with="chart">
15 <metadata type="application/json">
16 {
17 "name": "line_chart",
18 "x": 120,
19 "y": 141,
20 "width": 1063.1,
21 "height": 447.5,
22 "type": "line",
23 "line_style": "lineMarker",
24 "categories": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
25 "series": [
26 {"name": "Revenue", "values": [32, 38, 45, 52, 58, 62, 68, 75, 78, 82, 88, 92]},
27 {"name": "Net Profit", "values": [12, 15, 18, 22, 25, 28, 32, 36, 38, 42, 48, 52]}
28 ],
29 "style": {"colors": ["#2563EB", "#059669"]}
30 }
31 </metadata>
32
33 <g id="chartArea">
34 <!-- Grid and axes -->
35 <g id="grid" stroke="#E2E8F0" stroke-width="1">
36 <line x1="140" y1="550" x2="1160" y2="550"/>
37 <line x1="140" y1="470" x2="1160" y2="470"/>
38 <line x1="140" y1="390" x2="1160" y2="390"/>
39 <line x1="140" y1="310" x2="1160" y2="310"/>
40 <line x1="140" y1="230" x2="1160" y2="230"/>
41 <line x1="140" y1="150" x2="1160" y2="150"/>
42 </g>
43 <g id="axes" stroke="#94A3B8" stroke-width="1.5">
44 <line x1="140" y1="150" x2="140" y2="550"/>
45 <line x1="140" y1="550" x2="1160" y2="550"/>
46 </g>
47
48 <!-- Value labels -->
49 <g id="value-labels" font-size="14" fill="#64748B" text-anchor="end">
50 <text x="120" y="555">0</text>
51 <text x="120" y="475">20</text>
52 <text x="120" y="395">40</text>
53 <text x="120" y="315">60</text>
54 <text x="120" y="235">80</text>
55 <text x="120" y="155">100</text>
56 </g>
57
58 <!-- Category labels -->
59 <g id="category-labels" font-size="14" font-weight="600" fill="#64748B" text-anchor="middle">
60 <text x="225" y="585">Jan</text>
61 <text x="310" y="585">Feb</text>
62 <text x="395" y="585">Mar</text>
63 <text x="480" y="585">Apr</text>
64 <text x="565" y="585">May</text>
65 <text x="650" y="585">Jun</text>
66 <text x="735" y="585">Jul</text>
67 <text x="820" y="585">Aug</text>
68 <text x="905" y="585">Sep</text>
69 <text x="990" y="585">Oct</text>
70 <text x="1075" y="585">Nov</text>
71 <text x="1160" y="585">Dec</text>
72 </g>
73
74 <!-- chart-plot-area: 140,150,1160,550 -->
75 <!-- Revenue series -->
76 <g id="revenue-series">
77 <polyline points="225,422 310,398 395,370 480,342 565,318 650,302 735,278 820,250 905,238 990,222 1075,198 1160,182"
78 fill="none" stroke="#2563EB" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>
79 <g fill="#2563EB" stroke="#FFFFFF" stroke-width="2">
80 <circle cx="225" cy="422" r="6"/>
81 <circle cx="310" cy="398" r="6"/>
82 <circle cx="395" cy="370" r="6"/>
83 <circle cx="480" cy="342" r="6"/>
84 <circle cx="565" cy="318" r="6"/>
85 <circle cx="650" cy="302" r="6"/>
86 <circle cx="735" cy="278" r="6"/>
87 <circle cx="820" cy="250" r="6"/>
88 <circle cx="905" cy="238" r="6"/>
89 <circle cx="990" cy="222" r="6"/>
90 <circle cx="1075" cy="198" r="6"/>
91 <circle cx="1160" cy="182" r="6"/>
92 </g>
93 </g>
94
95 <!-- Net profit series -->
96 <g id="profit-series">
97 <polyline points="225,502 310,490 395,478 480,462 565,450 650,438 735,422 820,406 905,398 990,382 1075,358 1160,342"
98 fill="none" stroke="#059669" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>
99 <g fill="#059669" stroke="#FFFFFF" stroke-width="2">
100 <circle cx="225" cy="502" r="6"/>
101 <circle cx="310" cy="490" r="6"/>
102 <circle cx="395" cy="478" r="6"/>
103 <circle cx="480" cy="462" r="6"/>
104 <circle cx="565" cy="450" r="6"/>
105 <circle cx="650" cy="438" r="6"/>
106 <circle cx="735" cy="422" r="6"/>
107 <circle cx="820" cy="406" r="6"/>
108 <circle cx="905" cy="398" r="6"/>
109 <circle cx="990" cy="382" r="6"/>
110 <circle cx="1075" cy="358" r="6"/>
111 <circle cx="1160" cy="342" r="6"/>
112 </g>
113 </g>
114 </g>
115 </g>
116
117 <!-- Series legend -->
118 <g id="legend" data-pptx-bounds="860 610 360 40"
119 font-size="16" font-weight="600" fill="#475569">
120 <line x1="880" y1="630" x2="910" y2="630" stroke="#2563EB" stroke-width="4" stroke-linecap="round"/>
121 <circle cx="895" cy="630" r="5" fill="#2563EB"/>
122 <text x="925" y="635">Revenue</text>
123 <line x1="1030" y1="630" x2="1060" y2="630" stroke="#059669" stroke-width="4" stroke-linecap="round"/>
124 <circle cx="1045" cy="630" r="5" fill="#059669"/>
125 <text x="1075" y="635">Net Profit</text>
126 </g>
127
128 <!-- Source -->
129 <g id="source" data-pptx-bounds="60 680 290 20">
130 <text x="60" y="695" font-size="13" font-weight="500" fill="#94A3B8">Source: Corporate Finance Department</text>
131 </g>
132 </svg>
133
133 lines Plain Text