{"action":"created","issue":{"url":"https://api.github.com/repos/krzysu/flot.tooltip/issues/112","labels_url":"https://api.github.com/repos/krzysu/flot.tooltip/issues/112/labels{/name}","comments_url":"https://api.github.com/repos/krzysu/flot.tooltip/issues/112/comments","events_url":"https://api.github.com/repos/krzysu/flot.tooltip/issues/112/events","html_url":"https://github.com/krzysu/flot.tooltip/pull/112","id":85093363,"number":112,"title":"Pie %n tooltip template shows total number represented by a pie slice ","user":{"login":"kenirwin","id":1894561,"avatar_url":"https://avatars.githubusercontent.com/u/1894561?v=3","gravatar_id":"","url":"https://api.github.com/users/kenirwin","html_url":"https://github.com/kenirwin","followers_url":"https://api.github.com/users/kenirwin/followers","following_url":"https://api.github.com/users/kenirwin/following{/other_user}","gists_url":"https://api.github.com/users/kenirwin/gists{/gist_id}","starred_url":"https://api.github.com/users/kenirwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenirwin/subscriptions","organizations_url":"https://api.github.com/users/kenirwin/orgs","repos_url":"https://api.github.com/users/kenirwin/repos","events_url":"https://api.github.com/users/kenirwin/events{/privacy}","received_events_url":"https://api.github.com/users/kenirwin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-04T13:10:54Z","updated_at":"2015-06-05T03:36:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/krzysu/flot.tooltip/pulls/112","html_url":"https://github.com/krzysu/flot.tooltip/pull/112","diff_url":"https://github.com/krzysu/flot.tooltip/pull/112.diff","patch_url":"https://github.com/krzysu/flot.tooltip/pull/112.patch"},"body":"This pull request updates the js/jquery.flot.tooltip.source.js to add a '%n' replacement template available in pie charts. Under the previous tooltip templates, it was possible to get a percentage to show in the tooltip, but not the total number (N) of items/instances/etc represented by that segment of the pie chart. This addition adds the %n template to the javascript source code as well as a demo in the examples/pie.html file. "},"comment":{"url":"https://api.github.com/repos/krzysu/flot.tooltip/issues/comments/109153862","html_url":"https://github.com/krzysu/flot.tooltip/pull/112#issuecomment-109153862","issue_url":"https://api.github.com/repos/krzysu/flot.tooltip/issues/112","id":109153862,"user":{"login":"kenirwin","id":1894561,"avatar_url":"https://avatars.githubusercontent.com/u/1894561?v=3","gravatar_id":"","url":"https://api.github.com/users/kenirwin","html_url":"https://github.com/kenirwin","followers_url":"https://api.github.com/users/kenirwin/followers","following_url":"https://api.github.com/users/kenirwin/following{/other_user}","gists_url":"https://api.github.com/users/kenirwin/gists{/gist_id}","starred_url":"https://api.github.com/users/kenirwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenirwin/subscriptions","organizations_url":"https://api.github.com/users/kenirwin/orgs","repos_url":"https://api.github.com/users/kenirwin/repos","events_url":"https://api.github.com/users/kenirwin/events{/privacy}","received_events_url":"https://api.github.com/users/kenirwin/received_events","type":"User","site_admin":false},"created_at":"2015-06-05T03:36:03Z","updated_at":"2015-06-05T03:36:03Z","body":"Thanks. I have a fix for the %ct problem worked out too, but it looks to me like submitting two pull requests for .js code at the same time would cause trouble, since the grunted, minified code would be hard to merge. Is that the case? If so, I'll just make the pull requests more slowly and sequentially.\r\n"}}