Widget:Radar: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 38: Line 38:
         <!--{for $i=1 to $dim}-->
         <!--{for $i=1 to $dim}-->
         <line x1="0" y1="0" x2="<!--{$xs[$i]*200}-->" y2="<!--{$ys[$i]*200}-->" stroke="#ccc"></line>
         <line x1="0" y1="0" x2="<!--{$xs[$i]*200}-->" y2="<!--{$ys[$i]*200}-->" stroke="#ccc"></line>
         <text x="<!--{$xs[$i]*250}-->" y="<!--{$ys[$i]*250}-->" fill="#000"><!--{$label[$i-1]|default:''|escape:'html'}--></text>
         <text x="<!--{$xs[$i]*230}-->" y="<!--{$ys[$i]*230}-->" fill="#000"><!--{$label[$i-1]|default:''|escape:'html'}--></text>
         <!--{/for}-->
         <!--{/for}-->
         <polygon stroke-width="0" fill="<!--{$color}-->7f" points="
         <polygon stroke-width="0" fill="<!--{$color}-->7f" points="