Widget:Radar: Difference between revisions
From Elwiki
mNo edit summary |
mNo edit summary |
||
Line 18: | Line 18: | ||
<polygon stroke="#ccc" fill="#fff" points=" | <polygon stroke="#ccc" fill="#fff" points=" | ||
<!--{for $i=1 to $dim}--> | <!--{for $i=1 to $dim}--> | ||
<!--{($xs[$i]* | <!--{($xs[$i]*160)|cat:','|cat:($ys[$i]*160)}--> | ||
<!--{/for}--> | <!--{/for}--> | ||
"></polygon> | "></polygon> | ||
<polygon stroke="#ccc" fill="#eee" points=" | <polygon stroke="#ccc" fill="#eee" points=" | ||
<!--{for $i=1 to $dim}--> | <!--{for $i=1 to $dim}--> | ||
<!--{($xs[$i]* | <!--{($xs[$i]*120)|cat:','|cat:($ys[$i]*120)}--> | ||
<!--{/for}--> | <!--{/for}--> | ||
"></polygon> | "></polygon> | ||
<polygon stroke="#ccc" fill="#fff" points=" | <polygon stroke="#ccc" fill="#fff" points=" | ||
<!--{for $i=1 to $dim}--> | <!--{for $i=1 to $dim}--> | ||
<!--{($xs[$i]* | <!--{($xs[$i]*80)|cat:','|cat:($ys[$i]*80)}--> | ||
<!--{/for}--> | |||
"></polygon> | |||
<polygon stroke="#ccc" fill="#eee" points=" | |||
<!--{for $i=1 to $dim}--> | |||
<!--{($xs[$i]*40)|cat:','|cat:($ys[$i]*40)}--> | |||
<!--{/for}--> | <!--{/for}--> | ||
"></polygon> | "></polygon> |
Revision as of 05:13, 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="#ccc" fill="#eee" points=" "></polygon> <polygon stroke="#ccc" fill="#fff" points=" "></polygon> <polygon stroke="#ccc" fill="#eee" points=" "></polygon> <polygon stroke="#ccc" fill="#fff" points=" "></polygon> <polygon stroke="#ccc" fill="#eee" points=" "></polygon> <line x1="0" y1="0" x2="" y2="" stroke="#ccc"></line> <polygon stroke-width="0" fill="7f" points=" "></polygon> </svg>