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%; height: 100%;">
     <svg xmlns="http://www.w3.org/2000/svg" version="1.1">
     <svg xmlns="http://www.w3.org/2000/svg" version="1.1">
         <text>1</text>
         <!--{$PI=3.141592653589793}-->
        <!--{nocache}-->
        <!--{$step=2*$PI/$dim}-->
        <polygon points="
            <!--{for $i=1 to $dim}-->
            <!--{$deg=$PI/2+($i-1)*$step}-->
            <!--{$x=200*sin($deg)}-->
            <!--{$y=200*cos($deg)}-->
            <!--{$x},${y}-->
            <!--{/for}-->
        "></polygon>
        <!--{/nocache}-->
     </svg>
     </svg>
</div>
</div>

Revision as of 17:49, 28 May 2020

   <svg xmlns="http://www.w3.org/2000/svg" version="1.1">
       <polygon points="
       "></polygon>
   </svg>