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]|cat:','|cat:$ys[$i]}-->
             <!--{$xs[$i]*200|cat:','|cat:$ys[$i]*200}-->
            <!--{/for}-->
        "></polygon>
        <polygon stroke="#ccc" fill="transparent" points="
            <!--{for $i=1 to $dim}-->
            <!--{$xs[$i]*160|cat:','|cat:$ys[$i]*160}-->
            <!--{/for}-->
        "></polygon>
        <polygon stroke="#ccc" fill="transparent" points="
            <!--{for $i=1 to $dim}-->
            <!--{$xs[$i]*120|cat:','|cat:$ys[$i]*120}-->
            <!--{/for}-->
        "></polygon>
        <polygon stroke="#999" fill="transparent" points="
            <!--{for $i=1 to $dim}-->
            <!--{$xs[$i]*80|cat:','|cat:$ys[$i]*80}-->
            <!--{/for}-->
        "></polygon>
        <polygon stroke="#999" fill="transparent" points="
            <!--{for $i=1 to $dim}-->
            <!--{$xs[$i]*40|cat:','|cat:$ys[$i]*40}-->
             <!--{/for}-->
             <!--{/for}-->
         "></polygon>
         "></polygon>

Revision as of 03:53, 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>