Drawing Multiple Line Graphs

   



Key Constructs

A homogeneous bar set can be rendered with the following SVG code:

<defs> <rect     x="0" y="0" width="40" height="200" stroke="white"/> </defs> <g transform="translate(40,100)">   <use x="0"   y="0" fill="blue" xlink:href="#blot1"/>   <use x="40"  y="0" fill="red"  xlink:href="#blot1"/>   <use x="80"  y="0" fill="blue" xlink:href="#blot1"/>   <use x="120" y="0" fill="red"  xlink:href="#blot1"/>   <use x="160" y="0" fill="blue" xlink:href="#blot1"/>   <use x="200" y="0" fill="red"  xlink:href="#blot1"/>   <use x="240" y="0" fill="blue" xlink:href="#blot1"/>   <use x="280" y="0" fill="red"  xlink:href="#blot1"/> </g>



   



Fundamentals of SVG Programming. Concepts to Source Code
Fundamentals of SVG Programming: Concepts to Source Code (Graphics Series)
ISBN: 1584502983
EAN: 2147483647
Year: 2003
Pages: 362

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net