Widget:Radar: Difference between revisions

From Elwiki
mNo edit summary
mNo edit summary
Line 13: Line 13:
         <polygon stroke="#999" fill="transparent" points="
         <polygon stroke="#999" fill="transparent" points="
             <!--{for $i=1 to $dim}-->
             <!--{for $i=1 to $dim}-->
             <!--{$xs[$i]*200|cat:','|cat:$ys[$i]*200}-->
             <!--{($xs[$i]*200)|cat:','|cat:($ys[$i]*200)}-->
             <!--{/for}-->
             <!--{/for}-->
         "></polygon>
         "></polygon>
         <polygon stroke="#ccc" fill="transparent" points="
         <polygon stroke="#ccc" fill="transparent" points="
             <!--{for $i=1 to $dim}-->
             <!--{for $i=1 to $dim}-->
             <!--{$xs[$i]*160|cat:','|cat:$ys[$i]*160}-->
             <!--{($xs[$i]*160)|cat:','|cat:($ys[$i]*160)}-->
             <!--{/for}-->
             <!--{/for}-->
         "></polygon>
         "></polygon>
         <polygon stroke="#ccc" fill="transparent" points="
         <polygon stroke="#ccc" fill="transparent" points="
             <!--{for $i=1 to $dim}-->
             <!--{for $i=1 to $dim}-->
             <!--{$xs[$i]*120|cat:','|cat:$ys[$i]*120}-->
             <!--{($xs[$i]*120)|cat:','|cat:($ys[$i]*120)}-->
             <!--{/for}-->
             <!--{/for}-->
         "></polygon>
         "></polygon>
         <polygon stroke="#999" fill="transparent" points="
         <polygon stroke="#999" fill="transparent" points="
             <!--{for $i=1 to $dim}-->
             <!--{for $i=1 to $dim}-->
             <!--{$xs[$i]*80|cat:','|cat:$ys[$i]*80}-->
             <!--{($xs[$i]*80)|cat:','|cat:($ys[$i]*80)}-->
             <!--{/for}-->
             <!--{/for}-->
         "></polygon>
         "></polygon>
         <polygon stroke="#999" fill="transparent" points="
         <polygon stroke="#999" fill="transparent" points="
             <!--{for $i=1 to $dim}-->
             <!--{for $i=1 to $dim}-->
             <!--{$xs[$i]*40|cat:','|cat:$ys[$i]*40}-->
             <!--{($xs[$i]*40)|cat:','|cat:($ys[$i]*40)}-->
             <!--{/for}-->
             <!--{/for}-->
         "></polygon>
         "></polygon>

Revision as of 03:56, 29 May 2020

   <svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="600" height="600" viewBox="-300 -300 600 600">
       <polygon stroke="#999" fill="transparent" points="
       "></polygon>
       <polygon stroke="#ccc" fill="transparent" points="
       "></polygon>
       <polygon stroke="#ccc" fill="transparent" points="
       "></polygon>
       <polygon stroke="#999" fill="transparent" points="
       "></polygon>
       <polygon stroke="#999" fill="transparent" points="
       "></polygon>
   </svg>