Anonymous

Widget:Radar: Difference between revisions

From Elwiki
m
no edit summary
mNo edit summary
mNo edit summary
Line 26: Line 26:
             <!--{/for}-->
             <!--{/for}-->
         "></polygon>
         "></polygon>
         <polygon stroke="#999" fill="transparent" points="
         <polygon stroke="#ccc" fill="transparent" points="
             <!--{for $i=1 to $dim}-->
             <!--{for $i=1 to $dim}-->
             <!--{($xs[$i]*50)|cat:','|cat:($ys[$i]*50)}-->
             <!--{($xs[$i]*50)|cat:','|cat:($ys[$i]*50)}-->
             <!--{/for}-->
             <!--{/for}-->
         "></polygon>
         "></polygon>
        <!--{for $i=1 to $dim}-->
        <line x1="0" y1="0" x2="<!--{$xs[$i]*200}-->" y2="<!--{$ys[$i]*200}-->" stroke="#000">
        <!--{/for}-->
         <!--{/nocache}-->
         <!--{/nocache}-->
     </svg>
     </svg>
</div>
</div>