Widget:CharlesSVG: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 8: Line 8:


   <body>
   <body>
   <svg width="400" height="110">
 
   <svg viewBox="0 0 1000 1000">
 
   <rect width="300" height="100" style="fill:rgb(0,0,255);stroke-width:3;stroke:rgb(0,0,0)" />
   <rect width="300" height="100" style="fill:rgb(0,0,255);stroke-width:3;stroke:rgb(0,0,0)" />
</svg>
</svg>
<svg width="400" height="110">
 
  <rect width="300" height="100" style="fill:rgb(0,0,255);stroke-width:3;stroke:rgb(0,0,0)" />
    
</svg>
  <svg width="400" height="110">
  <rect width="300" height="100" style="fill:rgb(0,0,255);stroke-width:3;stroke:rgb(0,0,0)" />
</svg>
  <svg height="210" width="500">
  <line x1="0" y1="0" x2="200" y2="200" style="stroke:rgb(255,0,0);stroke-width:2" />
</svg>
   <svg height="100" width="100">
  <circle cx="50" cy="50" r="40" stroke="black" stroke-width="3" fill="red" />
</svg>
    
    
       <!--Blue Line via D3.js-->
       <!--Blue Line via D3.js-->