Widget:StatsGraph: Difference between revisions
Jump to navigation
Jump to search
Dynamically creating orientation lines |
m Typo |
||
Line 57: | Line 57: | ||
wedge.appendChild(radialLine); | wedge.appendChild(radialLine); | ||
for (int lineIdx=1; | for (int lineIdx=1;lineIdx<5;lineIdx++) { | ||
var orientationLine = document.createElementNS(svgNS, 'line'); | var orientationLine = document.createElementNS(svgNS, 'line'); | ||
var lineDistance = lineIdx * -75; | var lineDistance = lineIdx * -75; |