{"action":"created","issue":{"url":"https://api.github.com/repos/ebeshero/DHClass-Hub/issues/246","repository_url":"https://api.github.com/repos/ebeshero/DHClass-Hub","labels_url":"https://api.github.com/repos/ebeshero/DHClass-Hub/issues/246/labels{/name}","comments_url":"https://api.github.com/repos/ebeshero/DHClass-Hub/issues/246/comments","events_url":"https://api.github.com/repos/ebeshero/DHClass-Hub/issues/246/events","html_url":"https://github.com/ebeshero/DHClass-Hub/issues/246","id":188663170,"number":246,"title":"SVG 3 help wanted","user":{"login":"setriplette","id":13948197,"avatar_url":"https://avatars.githubusercontent.com/u/13948197?v=3","gravatar_id":"","url":"https://api.github.com/users/setriplette","html_url":"https://github.com/setriplette","followers_url":"https://api.github.com/users/setriplette/followers","following_url":"https://api.github.com/users/setriplette/following{/other_user}","gists_url":"https://api.github.com/users/setriplette/gists{/gist_id}","starred_url":"https://api.github.com/users/setriplette/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/setriplette/subscriptions","organizations_url":"https://api.github.com/users/setriplette/orgs","repos_url":"https://api.github.com/users/setriplette/repos","events_url":"https://api.github.com/users/setriplette/events{/privacy}","received_events_url":"https://api.github.com/users/setriplette/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-11T01:23:50Z","updated_at":"2016-11-12T22:23:27Z","closed_at":null,"body":"Hi all,\r\n\r\nI'm trying to figure out how to place the stacked bar graphs on the x axis, but I've come up against a problem--the questions aren't numbered like the chapters in Alice were!\r\n\r\nDo I have to write some kind of xslt to give them numbers before I start? Otherwise I don't know how to space them out differently from each other.\r\n\r\nWould appreciate a hint."},"comment":{"url":"https://api.github.com/repos/ebeshero/DHClass-Hub/issues/comments/260152579","html_url":"https://github.com/ebeshero/DHClass-Hub/issues/246#issuecomment-260152579","issue_url":"https://api.github.com/repos/ebeshero/DHClass-Hub/issues/246","id":260152579,"user":{"login":"ahunker","id":21365793,"avatar_url":"https://avatars.githubusercontent.com/u/21365793?v=3","gravatar_id":"","url":"https://api.github.com/users/ahunker","html_url":"https://github.com/ahunker","followers_url":"https://api.github.com/users/ahunker/followers","following_url":"https://api.github.com/users/ahunker/following{/other_user}","gists_url":"https://api.github.com/users/ahunker/gists{/gist_id}","starred_url":"https://api.github.com/users/ahunker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahunker/subscriptions","organizations_url":"https://api.github.com/users/ahunker/orgs","repos_url":"https://api.github.com/users/ahunker/repos","events_url":"https://api.github.com/users/ahunker/events{/privacy}","received_events_url":"https://api.github.com/users/ahunker/received_events","type":"User","site_admin":false},"created_at":"2016-11-12T22:23:27Z","updated_at":"2016-11-12T22:23:27Z","body":"I could use some help with my percentage calculations. I've been messing around with it, but I can't get the equation to work. \r\n```\r\n<!-- GLOBAL RULES -->\r\n    <xsl:variable name=\"xSpacer\" select=\"50\"/>\r\n    <xsl:variable name=\"ySpacer\" select=\"5\"/>\r\n    <xsl:variable name=\"numQ\" select=\"count(//f[@select='Yes'])\"/>\r\n    <xsl:variable name=\"max_xValue\" select=\"$xSpacer * $numQ\"/>\r\n    <xsl:variable name=\"max_yValue\" select=\"100 * $ySpacer\"/>\r\n    <xsl:variable name=\"yes\" select=\"//fs/f[@select='Yes']/@n\"/>\r\n    <xsl:variable name=\"no\" select=\"//fs/f[@select='No']/@n\"/>\r\n    <xsl:variable name=\"blank\" select=\"//fs[@select='Blank']/@n\"/>\r\n    <xsl:variable name=\"sumN\" select=\"//fs/f[@select='Yes']/sum(@n)\"/>\r\n    <xsl:variable name=\"yesPerc\" select=\"$yes div $sumN * 100\"/>\r\n    <xsl:template match=\"/\">\r\n        <xsl:comment><xsl:value-of select=\"$yesPerc\"/></xsl:comment>\r\n        <svg width=\"850\" height=\"850\" viewBox=\"0 0 1000 1000\">\r\n            <g transform=\"translate(100 750)\">\r\n                <xsl:comment>X-axis</xsl:comment>\r\n                <line x1=\"30\" y1=\"0\" x2=\"{$max_xValue + $xSpacer}\" y2=\"0\" stroke=\"black\" stroke-width=\"2\"/>\r\n                <xsl:comment>Y-axis</xsl:comment>\r\n                <line x1=\"30\" y1=\"0\" x2=\"30\" y2=\"{-$max_yValue - 100}\" stroke=\"black\" stroke-width=\"2\"/>\r\n            </g>\r\n        </svg>\r\n    </xsl:template\r\n```"}}
{"actor":{"display_login":"ahunker"}}