以文本方式查看主题

-  中文XML论坛 - 专业的XML技术讨论区  (http://bbs.xml.org.cn/index.asp)
--  『 SVG/GML/VRML/X3D/XAML 』  (http://bbs.xml.org.cn/list.asp?boardid=21)
----  SVG柱型图  (http://bbs.xml.org.cn/dispbbs.asp?boardid=21&rootid=&id=9708)


--  作者:卷积内核
--  发布时间:9/3/2004 10:31:00 AM

--  SVG柱型图
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20001102//EN"
"http://www.w3.org/TR/2000/CR-SVG-20001102/DTD/svg-20001102.dtd">
<svg width="100%" height="100%"
  viewBox="40 32 4529 3385" preserveAspectRatio="xMinYMin meet" kerning="0" xml:space="preserve"
  xmlns="http://www.w3.org/2000/svg"
  xmlns:xlink="http://www.w3.org/1999/xlink"
  xmlns:svgmaker="http://www.svgmaker.com/svgns">
<svgmaker:init width="203.2mm" height="152.4mm" viewBox="0 0 4609 3456" view="fit"
  crop="image" cropWidth="199.7mm" cropHeight="149.3mm" cropBox="40 32 4529 3385"/>
<title>3dbar.xls</title>
<desc>
  Generated by SVGmaker Version 1.10.2625.grad
  JUN-25-2002, 22:55
</desc>
<style type="text/css"><![CDATA[
path {fill-rule:nonzero; stroke-linecap:round; stroke-linejoin:round; shape-rendering:crispEdges}
rect {stroke-linejoin:miter; shape-rendering:crispEdges}
text.t1 {font-family:'Arial',sans-serif;font-size:128;fill:#000000}
text.t2 {font-family:'Arial',sans-serif;font-size:128;fill:#000000;font-weight:700}
text.t3 {font-family:'Arial',sans-serif;font-size:154;fill:#000000;font-weight:700}
]]></style>
<defs>
<linearGradient id="grad001" gradientTransform="rotate(90)">
  <stop offset="0" stop-color="#CBFEFF"/>
  <stop offset="0.26" stop-color="#C4F1FF"/>
  <stop offset="0.764" stop-color="#A0A9FF"/>
  <stop offset="1" stop-color="#9999FF"/>
</linearGradient>
<linearGradient id="grad002" gradientTransform="rotate(90)">
  <stop offset="0" stop-color="#9999FF"/>
  <stop offset="0.25" stop-color="#99A1FF"/>
  <stop offset="0.717" stop-color="#99C3FF"/>
  <stop offset="1" stop-color="#99CBFF"/>
</linearGradient>
</defs>
<g id="Page_1">
<rect x="40" y="32" width="4529" height="3385" style="fill:url(#grad001);stroke:none"/>
<rect x="40" y="32" width="4528" height="3384" style="fill:none;stroke:#000000;stroke-width:1"/>
<path style="fill:#808080;stroke:none" d="M 1105,2615 l 160,-121 2336,0 -160,121 -2336,0 z"/>
<path style="fill:#C0C0C0;stroke:none" d="M 1105,2615 l 0,-1915 160,-121 0,1915 -160,121 z"/>
<rect x="1265" y="579" width="2336" height="1915" style="fill:#C0C0C0;stroke:none"/>
<path style="fill:none;stroke:#000000;stroke-width:1" d="M 1105,2342 l 160,-121 2336,0 m -2496,-153 l 160,-121 2336,0 m -2496,-153 l 160,-121 2336,0 m -2496,-152 l 160,-121 2336,0 m -2496,-153 l 160,-121 2336,0 m -2496,-153 l 160,-121 2336,0 m -2496,-152 l 160,-121 2336,0 m -2496,2036 l 160,-121 2336,0 -160,121 -2336,0 160,-121 2336,0"/>
<path style="fill:none;stroke:#808080;stroke-width:8" d="M 1105,2615 l 0,-1915 160,-121 0,1915 -160,121"/>
<rect x="1265" y="579" width="2336" height="1915" style="fill:none;stroke:#808080;stroke-width:8"/>
<path style="fill:#4D4D80;stroke:none" d="M 1480,2579 l 0,-205 64,-49 0,206 -64,48 z"/>
<path style="fill:none;stroke:#000000;stroke-width:8" d="M 1480,2579 l 0,-205 64,-49 0,206 -64,48"/>
<rect x="1293" y="2374" width="187" height="205" style="fill:#9999FF;stroke:none"/>
<rect x="1293" y="2374" width="187" height="205" style="fill:none;stroke:#000000;stroke-width:8"/>
<path style="fill:#4D1A33;stroke:none" d="M 1480,2374 l 0,-69 64,-48 0,68 -64,49 z"/>
<path style="fill:none;stroke:#000000;stroke-width:8" d="M 1480,2374 l 0,-69 64,-48 0,68 -64,49"/>
<rect x="1293" y="2305" width="187" height="69" style="fill:#993366;stroke:none"/>
<rect x="1293" y="2305" width="187" height="69" style="fill:none;stroke:#000000;stroke-width:8"/>
<path style="fill:#808066;stroke:none" d="M 1480,2305 l 0,-301 64,-48 0,301 -64,48 z"/>
<path style="fill:none;stroke:#000000;stroke-width:8" d="M 1480,2305 l 0,-301 64,-48 0,301 -64,48"/>
<rect x="1293" y="2004" width="187" height="301" style="fill:#FFFFCC;stroke:none"/>
<rect x="1293" y="2004" width="187" height="301" style="fill:none;stroke:#000000;stroke-width:8"/>
<path style="fill:#668080;stroke:none" d="M 1480,2004 l 0,-191 64,-49 0,192 -64,48 z"/>
<path style="fill:none;stroke:#000000;stroke-width:8" d="M 1480,2004 l 0,-191 64,-49 0,192 -64,48"/>
<rect x="1293" y="1813" width="187" height="191" style="fill:#CCFFFF;stroke:none"/>
<rect x="1293" y="1813" width="187" height="191" style="fill:none;stroke:#000000;stroke-width:8"/>
<path style="fill:#330033;stroke:none" d="M 1480,1813 l 0,-315 64,-48 0,314 -64,49 z"/>
<path style="fill:none;stroke:#000000;stroke-width:8" d="M 1480,1813 l 0,-315 64,-48 0,314 -64,49"/>
<rect x="1293" y="1498" width="187" height="315" style="fill:#660066;stroke:none"/>
<rect x="1293" y="1498" width="187" height="315" style="fill:none;stroke:#000000;stroke-width:8"/>
<path style="fill:#4D004D;stroke:none" d="M 1480,1498 l 64,-48 -187,0 -64,48 187,0 z"/>
<path style="fill:none;stroke:#000000;stroke-width:8" d="M 1480,1498 l 64,-48 -187,0 -64,48 187,0"/>
<path style="fill:#4D4D80;stroke:none" d="M 1947,2579 l 0,-205 64,-49 0,206 -64,48 z"/>
<path style="fill:none;stroke:#000000;stroke-width:8" d="M 1947,2579 l 0,-205 64,-49 0,206 -64,48"/>
<rect x="1760" y="2374" width="187" height="205" style="fill:#9999FF;stroke:none"/>
<rect x="1760" y="2374" width="187" height="205" style="fill:none;stroke:#000000;stroke-width:8"/>
<path style="fill:#4D1A33;stroke:none" d="M 1947,2374 l 0,-110 64,-48 0,109 -64,49 z"/>
<path style="fill:none;stroke:#000000;stroke-width:8" d="M 1947,2374 l 0,-110 64,-48 0,109 -64,49"/>
<rect x="1760" y="2264" width="187" height="110" style="fill:#993366;stroke:none"/>
<rect x="1760" y="2264" width="187" height="110" style="fill:none;stroke:#000000;stroke-width:8"/>
<path style="fill:#808066;stroke:none" d="M 1947,2264 l 0,-314 64,-49 0,315 -64,48 z"/>
<path style="fill:none;stroke:#000000;stroke-width:8" d="M 1947,2264 l 0,-314 64,-49 0,315 -64,48"/>
<rect x="1760" y="1950" width="187" height="314" style="fill:#FFFFCC;stroke:none"/>
<rect x="1760" y="1950" width="187" height="314" style="fill:none;stroke:#000000;stroke-width:8"/>
<path style="fill:#668080;stroke:none" d="M 1947,1950 l 0,-342 64,-49 0,342 -64,49 z"/>
<path style="fill:none;stroke:#000000;stroke-width:8" d="M 1947,1950 l 0,-342 64,-49 0,342 -64,49"/>
<rect x="1760" y="1608" width="187" height="342" style="fill:#CCFFFF;stroke:none"/>
<rect x="1760" y="1608" width="187" height="342" style="fill:none;stroke:#000000;stroke-width:8"/>
<path style="fill:#330033;stroke:none" d="M 1947,1608 l 0,-233 64,-48 0,232 -64,49 z"/>
<path style="fill:none;stroke:#000000;stroke-width:8" d="M 1947,1608 l 0,-233 64,-48 0,232 -64,49"/>
<rect x="1760" y="1375" width="187" height="233" style="fill:#660066;stroke:none"/>
<rect x="1760" y="1375" width="187" height="233" style="fill:none;stroke:#000000;stroke-width:8"/>
<path style="fill:#4D004D;stroke:none" d="M 1947,1375 l 64,-48 -187,0 -64,48 187,0 z"/>
<path style="fill:none;stroke:#000000;stroke-width:8" d="M 1947,1375 l 64,-48 -187,0 -64,48 187,0"/>
<path style="fill:#4D4D80;stroke:none" d="M 2414,2579 l 0,-137 64,-48 0,137 -64,48 z"/>
<path style="fill:none;stroke:#000000;stroke-width:8" d="M 2414,2579 l 0,-137 64,-48 0,137 -64,48"/>
<rect x="2228" y="2442" width="186" height="137" style="fill:#9999FF;stroke:none"/>
<rect x="2228" y="2442" width="186" height="137" style="fill:none;stroke:#000000;stroke-width:8"/>
<path style="fill:#4D1A33;stroke:none" d="M 2414,2442 l 0,-96 64,-48 0,96 -64,48 z"/>
<path style="fill:none;stroke:#000000;stroke-width:8" d="M 2414,2442 l 0,-96 64,-48 0,96 -64,48"/>
<rect x="2228" y="2346" width="186" height="96" style="fill:#993366;stroke:none"/>
<rect x="2228" y="2346" width="186" height="96" style="fill:none;stroke:#000000;stroke-width:8"/>
<path style="fill:#808066;stroke:none" d="M 2414,2346 l 0,-301 64,-48 0,301 -64,48 z"/>
<path style="fill:none;stroke:#000000;stroke-width:8" d="M 2414,2346 l 0,-301 64,-48 0,301 -64,48"/>
<rect x="2228" y="2045" width="186" height="301" style="fill:#FFFFCC;stroke:none"/>
<rect x="2228" y="2045" width="186" height="301" style="fill:none;stroke:#000000;stroke-width:8"/>
<path style="fill:#668080;stroke:none" d="M 2414,2045 l 0,-396 64,-49 0,397 -64,48 z"/>
<path style="fill:none;stroke:#000000;stroke-width:8" d="M 2414,2045 l 0,-396 64,-49 0,397 -64,48"/>
<rect x="2228" y="1649" width="186" height="396" style="fill:#CCFFFF;stroke:none"/>
<rect x="2228" y="1649" width="186" height="396" style="fill:none;stroke:#000000;stroke-width:8"/>
<path style="fill:#330033;stroke:none" d="M 2414,1649 l 0,-206 64,-48 0,205 -64,49 z"/>
<path style="fill:none;stroke:#000000;stroke-width:8" d="M 2414,1649 l 0,-206 64,-48 0,205 -64,49"/>
<rect x="2228" y="1443" width="186" height="206" style="fill:#660066;stroke:none"/>
<rect x="2228" y="1443" width="186" height="206" style="fill:none;stroke:#000000;stroke-width:8"/>
<path style="fill:#4D004D;stroke:none" d="M 2414,1443 l 64,-48 -186,0 -64,48 186,0 z"/>
<path style="fill:none;stroke:#000000;stroke-width:8" d="M 2414,1443 l 64,-48 -186,0 -64,48 186,0"/>
<path style="fill:#4D4D80;stroke:none" d="M 2882,2579 l 0,-260 64,-48 0,260 -64,48 z"/>
<path style="fill:none;stroke:#000000;stroke-width:8" d="M 2882,2579 l 0,-260 64,-48 0,260 -64,48"/>
<rect x="2695" y="2319" width="187" height="260" style="fill:#9999FF;stroke:none"/>
<rect x="2695" y="2319" width="187" height="260" style="fill:none;stroke:#000000;stroke-width:8"/>
<path style="fill:#4D1A33;stroke:none" d="M 2882,2319 l 0,-123 64,-48 0,123 -64,48 z"/>
<path style="fill:none;stroke:#000000;stroke-width:8" d="M 2882,2319 l 0,-123 64,-48 0,123 -64,48"/>
<rect x="2695" y="2196" width="187" height="123" style="fill:#993366;stroke:none"/>
<rect x="2695" y="2196" width="187" height="123" style="fill:none;stroke:#000000;stroke-width:8"/>
<path style="fill:#808066;stroke:none" d="M 2882,2196 l 0,-329 64,-48 0,329 -64,48 z"/>
<path style="fill:none;stroke:#000000;stroke-width:8" d="M 2882,2196 l 0,-329 64,-48 0,329 -64,48"/>
<rect x="2695" y="1867" width="187" height="329" style="fill:#FFFFCC;stroke:none"/>
<rect x="2695" y="1867" width="187" height="329" style="fill:none;stroke:#000000;stroke-width:8"/>
<path style="fill:#668080;stroke:none" d="M 2882,1867 l 0,-437 64,-49 0,438 -64,48 z"/>
<path style="fill:none;stroke:#000000;stroke-width:8" d="M 2882,1867 l 0,-437 64,-49 0,438 -64,48"/>
<rect x="2695" y="1430" width="187" height="437" style="fill:#CCFFFF;stroke:none"/>
<rect x="2695" y="1430" width="187" height="437" style="fill:none;stroke:#000000;stroke-width:8"/>
<path style="fill:#330033;stroke:none" d="M 2882,1430 l 0,-452 64,-48 0,451 -64,49 z"/>
<path style="fill:none;stroke:#000000;stroke-width:8" d="M 2882,1430 l 0,-452 64,-48 0,451 -64,49"/>
<rect x="2695" y="978" width="187" height="452" style="fill:#660066;stroke:none"/>
<rect x="2695" y="978" width="187" height="452" style="fill:none;stroke:#000000;stroke-width:8"/>
<path style="fill:#4D004D;stroke:none" d="M 2882,978 l 64,-48 -187,0 -64,48 187,0 z"/>
<path style="fill:none;stroke:#000000;stroke-width:8" d="M 2882,978 l 64,-48 -187,0 -64,48 187,0"/>
<path style="fill:#4D4D80;stroke:none" d="M 3349,2579 l 0,-342 64,-48 0,342 -64,48 z"/>
<path style="fill:none;stroke:#000000;stroke-width:8" d="M 3349,2579 l 0,-342 64,-48 0,342 -64,48"/>
<rect x="3162" y="2237" width="187" height="342" style="fill:#9999FF;stroke:none"/>
<rect x="3162" y="2237" width="187" height="342" style="fill:none;stroke:#000000;stroke-width:8"/>
<path style="fill:#4D1A33;stroke:none" d="M 3349,2237 l 0,-137 64,-48 0,137 -64,48 z"/>
<path style="fill:none;stroke:#000000;stroke-width:8" d="M 3349,2237 l 0,-137 64,-48 0,137 -64,48"/>
<rect x="3162" y="2100" width="187" height="137" style="fill:#993366;stroke:none"/>
<rect x="3162" y="2100" width="187" height="137" style="fill:none;stroke:#000000;stroke-width:8"/>
<path style="fill:#808066;stroke:none" d="M 3349,2100 l 0,-356 64,-48 0,356 -64,48 z"/>
<path style="fill:none;stroke:#000000;stroke-width:8" d="M 3349,2100 l 0,-356 64,-48 0,356 -64,48"/>
<rect x="3162" y="1744" width="187" height="356" style="fill:#FFFFCC;stroke:none"/>
<rect x="3162" y="1744" width="187" height="356" style="fill:none;stroke:#000000;stroke-width:8"/>
<path style="fill:#668080;stroke:none" d="M 3349,1744 l 0,-547 64,-48 0,547 -64,48 z"/>
<path style="fill:none;stroke:#000000;stroke-width:8" d="M 3349,1744 l 0,-547 64,-48 0,547 -64,48"/>
<rect x="3162" y="1197" width="187" height="547" style="fill:#CCFFFF;stroke:none"/>
<rect x="3162" y="1197" width="187" height="547" style="fill:none;stroke:#000000;stroke-width:8"/>
<path style="fill:#330033;stroke:none" d="M 3349,1197 l 0,-301 64,-48 0,301 -64,48 z"/>
<path style="fill:none;stroke:#000000;stroke-width:8" d="M 3349,1197 l 0,-301 64,-48 0,301 -64,48"/>
<rect x="3162" y="896" width="187" height="301" style="fill:#660066;stroke:none"/>
<rect x="3162" y="896" width="187" height="301" style="fill:none;stroke:#000000;stroke-width:8"/>
<path style="fill:#4D004D;stroke:none" d="M 3349,896 l 64,-48 -187,0 -64,48 187,0 z"/>
<path style="fill:none;stroke:#000000;stroke-width:8" d="M 3349,896 l 64,-48 -187,0 -64,48 187,0"/>
<path style="fill:none;stroke:#000000;stroke-width:1" d="M 1105,2342 l -40,0 m 40,-274 l -40,0 m 40,-274 l -40,0 m 40,-273 l -40,0 m 40,-274 l -40,0 m 40,-274 l -40,0 m 0,1642 l 40,0 0,-1915 -40,0"/>
<text class="t1"><tspan x="976" y="2657">0</tspan><tspan x="905" y="2384">20</tspan><tspan x="905" y="2110">40</tspan><tspan x="905" y="1836">60</tspan><tspan x="905" y="1563">80</tspan><tspan x="834" y="1289">100</tspan><tspan x="834" y="1015">120</tspan><tspan x="834" y="742">140</tspan></text>
<text class="t2"><tspan x="124" y="1620">Shipments </tspan><tspan x="251" y="1780">(&apos;000s)</tspan></text>
<path style="fill:none;stroke:#000000;stroke-width:1" d="M 1572,2615 l 0,40 m 467,-40 l 0,40 m 468,-40 l 0,40 m 467,-40 l 0,40 m -1869,0 l 0,-40 2336,0 0,40"/>
<text class="t1"><tspan x="1183" y="2802">North</tspan><tspan x="1650" y="2802">North</tspan><tspan x="1679" y="2957">East</tspan><tspan x="2145" y="2802">East</tspan><tspan x="2573" y="2802">South</tspan><tspan x="2612" y="2957">East</tspan><tspan x="3041" y="2802">South</tspan></text>
<text class="t2"><tspan x="2057" y="3153">Region</tspan></text>
<text class="t3"><tspan x="1185" y="280">Excel 97 3D Stacked Bar Chart</tspan></text>
<rect x="3665" y="1481" width="879" height="876" style="fill:url(#grad002);stroke:none"/>
<rect x="3665" y="1481" width="878" height="875" style="fill:none;stroke:#000000;stroke-width:1"/>
<rect x="3702" y="1535" width="78" height="78" style="fill:#660066;stroke:none"/>
<rect x="3702" y="1535" width="78" height="78" style="fill:none;stroke:#000000;stroke-width:8"/>
<text class="t1"><tspan x="3811" y="1617">Sedans</tspan></text>
<rect x="3702" y="1710" width="78" height="78" style="fill:#CCFFFF;stroke:none"/>
<rect x="3702" y="1710" width="78" height="78" style="fill:none;stroke:#000000;stroke-width:8"/>
<text class="t1"><tspan x="3811" y="1792">Light Trucks</tspan></text>
<rect x="3702" y="1885" width="78" height="78" style="fill:#FFFFCC;stroke:none"/>
<rect x="3702" y="1885" width="78" height="78" style="fill:none;stroke:#000000;stroke-width:8"/>
<text class="t1"><tspan x="3811" y="1967">Coupes</tspan></text>
<rect x="3702" y="2060" width="78" height="78" style="fill:#993366;stroke:none"/>
<rect x="3702" y="2060" width="78" height="78" style="fill:none;stroke:#000000;stroke-width:8"/>
<text class="t1"><tspan x="3811" y="2142">SUVs</tspan></text>
<rect x="3702" y="2235" width="78" height="78" style="fill:#9999FF;stroke:none"/>
<rect x="3702" y="2235" width="78" height="78" style="fill:none;stroke:#000000;stroke-width:8"/>
<text class="t1"><tspan x="3811" y="2317">Sedans</tspan></text>
<rect x="40" y="32" width="4528" height="3384" style="fill:none;stroke:#000000;stroke-width:1"/>
</g>
</svg>


--  作者:卷积内核
--  发布时间:9/3/2004 10:32:00 AM

--  
也可以改为中文显示,前面的帖子已经有介绍,很简单,有兴趣的自己改吧
--  作者:thomsonjin
--  发布时间:10/29/2004 5:10:00 PM

--  
挺不错的
--  作者:zhiyu-2000
--  发布时间:12/6/2004 9:49:00 AM

--  
卷积内核:
      偶请教你一个问题:怎样在svg中嵌入控件,比如嵌入一个word控件

--  作者:yuxi2000
--  发布时间:12/30/2004 9:33:00 PM

--  
你是从excel导出的么?还是自己编写?还是手工绘制?
动态从数据库接受查询数据生成怎么做阿?
--  作者:天啦
--  发布时间:12/31/2004 9:54:00 AM

--  
我也想知道,不会是自己写的吧?
--  作者:SCYANGYU
--  发布时间:2/18/2005 10:15:00 AM

--  
这里不是明明写着嘛!

  Generated by SVGmaker Version 1.10.2625.grad
  JUN-25-2002, 22:55


W 3 C h i n a ( since 2003 ) 旗 下 站 点
苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
93.750ms