Welcome to IOPWiki, Commander.
With the release of the new game, we encourage contributions to topics related to Girls' Frontline 2. Learn how to contribute, read the maintenance guide, and join our Discord server to discuss major changes.
If you or someone you know can help deciphering the game files, contact our administrator.

Widget:StatsGraph: Difference between revisions

Welcome to IOP Wiki. This website is maintained by the Girls' Frontline community and is free to edit by anyone.
Jump to navigation Jump to search
m Orange is a text, not a variable
Added more attributes to SVG and fixed issues with the radar definition
Line 38: Line 38:
   var svgNS = svg.namespaceURI;
   var svgNS = svg.namespaceURI;
   svg.setAttributeNS("http://www.w3.org/2000/xmlns/", "xmlns:xlink", "http://www.w3.org/1999/xlink");
   svg.setAttributeNS("http://www.w3.org/2000/xmlns/", "xmlns:xlink", "http://www.w3.org/1999/xlink");
  svg.setAttribute('width', "500px");
  svg.setAttribute('height', "500px");
  svg.setAttribute('viewBox', "0 0 800 800");
  svg.setAttribute('preserveAspectRatio', "none");
  svg.setAttribute('version', "1.1");


   /* Inline styling; maybe export to common.css? */
   /* Inline styling; maybe export to common.css? */
Line 78: Line 83:
   radialLine.setAttribute('stroke-width', "3pt");
   radialLine.setAttribute('stroke-width', "3pt");
   wedge.appendChild(radialLine);
   wedge.appendChild(radialLine);
   svg.appendChild(wedge);
   defs.appendChild(wedge);
   svg.appendChild(defs);
   svg.appendChild(defs);
    
    

Revision as of 21:04, 1 October 2019