Widget:Radar: Difference between revisions

From Elwiki
mNo edit summary
mNo edit summary
Line 1: Line 1:
<div style="width: 100%; height: 100%;">
<div style="width: 100%;">
     <!--{$PI=3.141592653589793}-->
     <!--{$PI=3.141592653589793}-->
     <!--{nocache}-->
     <!--{nocache}-->
Line 32: Line 32:
     <!--{$dx=$x2-$x1}-->
     <!--{$dx=$x2-$x1}-->
     <!--{$dy=$y2-$y1}-->
     <!--{$dy=$y2-$y1}-->
     <svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="600" height="600" viewBox="<!--{$x1}--> <!--{$y1}--> <!--{$dx}--> <!--{$dy}-->">
     <svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="600" height="600" viewBox="<!--{$x1}--> <!--{$y1}--> <!--{$dx}--> <!--{$dy}-->" style="width: 100%">
       
         <polygon stroke="#ccc" fill="#eee" points="
         <polygon stroke="#ccc" fill="#eee" points="
             <!--{for $i=1 to $dim}-->
             <!--{for $i=1 to $dim}-->

Revision as of 06:34, 29 May 2020

   <svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="600" height="600" viewBox="   " style="width: 100%">
       <polygon stroke="#ccc" fill="#eee" points="
       "></polygon>
       <polygon stroke="#ccc" fill="#fff" points="
       "></polygon>
       <polygon stroke="#ccc" fill="#eee" points="
       "></polygon>
       <polygon stroke="#ccc" fill="#fff" points="
       "></polygon>
       <polygon stroke="#ccc" fill="#eee" points="
       "></polygon>
       <line x1="0" y1="0" x2="" y2="" stroke="#ccc"></line>
       <text transform="translate()" fill="#000" text-anchor="middle"></text>
       <polygon stroke-width="0" fill="7f" points="
       "></polygon>
   </svg>