{"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":11,"created_at":"2016-11-11T01:23:50Z","updated_at":"2016-11-14T01:51:43Z","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/260231219","html_url":"https://github.com/ebeshero/DHClass-Hub/issues/246#issuecomment-260231219","issue_url":"https://api.github.com/repos/ebeshero/DHClass-Hub/issues/246","id":260231219,"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-14T01:51:43Z","updated_at":"2016-11-14T01:51:43Z","body":"I could use some help stacking my bars. I've looked at the assignment instructions but I'm not sure what I'm adding together to get my y values and where that equation would be placed in my code.\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:for-each select=\"//fs[f[@select='Yes']]\">\r\n                    <xsl:sort select=\"f[@select='Yes']/@n\"/>\r\n                    <xsl:variable name=\"yes\" select=\"f[@select='Yes']/@n\"/>\r\n                    <xsl:variable name=\"no\" select=\"f[@select='No']/@n\"/>\r\n                    <xsl:variable name=\"blank\" select=\"f[@select='Blank']/@n\"/>\r\n                    <xsl:variable name=\"yesFined\" select=\"f[@Yes_but_fine]/@n\"/>\r\n                    <xsl:variable name=\"sumN\" select=\"sum(f/@n)\"/>\r\n                    <xsl:variable name=\"yesPerc\" select=\"($yes div $sumN * 100)\"/>\r\n                    <xsl:variable name=\"noPerc\" select=\"($no div $sumN * 100)\"/>\r\n                    <xsl:variable name=\"blankPerc\" select=\"($blank div $sumN * 100)\"/>\r\n                    <xsl:variable name=\"yesFinedPerc\" select=\"($yesFined div $sumN * 100)\"/>\r\n                    <xsl:variable name=\"xPos\" select=\"position()*$xSpacer\"/>\r\n                    <line class =\"Yes\" x1=\"{$xPos}\" y1=\"0\" x2=\"{$xPos}\" y2=\"-{$yesPerc}\" stroke=\"purple\" stroke-width=\"30\"/>\r\n                    <line clas=\"No\" x1=\"{$xPos}\" y1=\"-{$yesPerc}\" x2=\"{$xPos}\" y2=\"-{$noPerc}\" stroke=\"yellow\" stroke-width=\"30\"/>\r\n                    <line class=\"Blank\" x1=\"{$xPos}\" y1=\"-{$noPerc}\" x2=\"{$xPos}\" y2=\"-{$blankPerc}\" stroke=\"red\" stroke-width=\"30\"/>\r\n                    <line class=\"YesFined\" x1=\"{$xPos}\" y1=\"-{$blank}\" x2=\"{$xPos}\" y2=\"-{$yesFinedPerc}\" stroke=\"green\" stroke-width=\"30\"/>\r\n                </xsl:for-each>\r\n```"}}
{"actor":{"display_login":"ahunker"}}