Widget:Radar: Difference between revisions

From Elwiki
mNo edit summary
mNo edit summary
Line 2: Line 2:
     <svg xmlns="http://www.w3.org/2000/svg" version="1.1">
     <svg xmlns="http://www.w3.org/2000/svg" version="1.1">
         <!--{$PI=3.141592653589793}-->
         <!--{$PI=3.141592653589793}-->
        <!--{$PI}-->
         <!--{nocache}-->
         <!--{nocache}-->
         <!--{$step=2*$PI/$dim}-->
         <!--{$step=2*$PI/$dim}-->
         <polygon points="
         <polygon points="
             <!--{for $i=1 to $dim}-->
             <!--{for $i=1 to $dim}-->
<!--{$PI}--><!--{$i}--><!--{$step}-->
             <!--{$deg=$PI/2+($i-1)*$step}-->
             <!--{$deg=$PI/2+($i-1)*$step}-->
             <!--{math equation="200*cos(deg)" deg=$deg assign="x"}-->
             <!--{math equation="200*cos(deg)" deg=$deg assign="x"}-->

Revision as of 18:59, 28 May 2020

   <svg xmlns="http://www.w3.org/2000/svg" version="1.1">
       <polygon points="
           ,<--{$y}-->
       "></polygon>
   </svg>