Welcome to IOPWiki, Commander.
We are searching for new editors to keep track of Girls' Frontline 2 content, as well as veteran players to complete the data of Girls' Frontline and Project Neural Cloud characters.
You can contribute without an account. Learn how to contribute and join our Discord server.

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 Another typo
m Maybe rotate in different direction?
Line 60: Line 60:
     var orientationLine = document.createElementNS(svgNS, 'line');
     var orientationLine = document.createElementNS(svgNS, 'line');
     var lineDistance = lineIdx * -75;
     var lineDistance = lineIdx * -75;
     var rotate = (-degreeSpacing * Math.PI) / 180;
     var rotate = (degreeSpacing * Math.PI) / 180;
     orientationLine.setAttribute('y1', lineDistance);
     orientationLine.setAttribute('y1', lineDistance);
     orientationLine.setAttribute('x2', lineDistance*Math.sin(rotate));
     orientationLine.setAttribute('x2', lineDistance*Math.sin(rotate));

Revision as of 12:44, 2 October 2019