{"action":"created","issue":{"url":"https://api.github.com/repos/mistic100/jQCloud/issues/10","labels_url":"https://api.github.com/repos/mistic100/jQCloud/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/mistic100/jQCloud/issues/10/comments","events_url":"https://api.github.com/repos/mistic100/jQCloud/issues/10/events","html_url":"https://github.com/mistic100/jQCloud/issues/10","id":95128484,"number":10,"title":"weight vs word count","user":{"login":"ghostsquad","id":903488,"avatar_url":"https://avatars.githubusercontent.com/u/903488?v=3","gravatar_id":"","url":"https://api.github.com/users/ghostsquad","html_url":"https://github.com/ghostsquad","followers_url":"https://api.github.com/users/ghostsquad/followers","following_url":"https://api.github.com/users/ghostsquad/following{/other_user}","gists_url":"https://api.github.com/users/ghostsquad/gists{/gist_id}","starred_url":"https://api.github.com/users/ghostsquad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghostsquad/subscriptions","organizations_url":"https://api.github.com/users/ghostsquad/orgs","repos_url":"https://api.github.com/users/ghostsquad/repos","events_url":"https://api.github.com/users/ghostsquad/events{/privacy}","received_events_url":"https://api.github.com/users/ghostsquad/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-15T07:49:42Z","updated_at":"2015-07-19T20:17:30Z","closed_at":null,"body":"I was wondering if I should be doing so special math to normalize weights. Given a very small word cloud like this:\r\n\r\n```\r\nvar words = [\r\n    { text: \"blah\", weight:  2 },\r\n    { text: \"test\", weight:  1 },\r\n    { text: \"foo\", weight:  1 },           \r\n    { text: \"bar\", weight:  1 },\r\n];\r\n```\r\n\r\nThe cloud that is generated chooses the absolute largest size for the word with weight: 2 and the absolute smallest size for the words with weight: 1.\r\n\r\nIf I set \"steps: 2\" on cloud options, then I get the 2 absolute smallest font sizes."},"comment":{"url":"https://api.github.com/repos/mistic100/jQCloud/issues/comments/122700833","html_url":"https://github.com/mistic100/jQCloud/issues/10#issuecomment-122700833","issue_url":"https://api.github.com/repos/mistic100/jQCloud/issues/10","id":122700833,"user":{"login":"mistic100","id":41597,"avatar_url":"https://avatars.githubusercontent.com/u/41597?v=3","gravatar_id":"","url":"https://api.github.com/users/mistic100","html_url":"https://github.com/mistic100","followers_url":"https://api.github.com/users/mistic100/followers","following_url":"https://api.github.com/users/mistic100/following{/other_user}","gists_url":"https://api.github.com/users/mistic100/gists{/gist_id}","starred_url":"https://api.github.com/users/mistic100/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mistic100/subscriptions","organizations_url":"https://api.github.com/users/mistic100/orgs","repos_url":"https://api.github.com/users/mistic100/repos","events_url":"https://api.github.com/users/mistic100/events{/privacy}","received_events_url":"https://api.github.com/users/mistic100/received_events","type":"User","site_admin":false},"created_at":"2015-07-19T20:17:30Z","updated_at":"2015-07-19T20:17:30Z","body":"still no clue of what you want\r\n\r\nadd a complete example, schematics if you want, but here I can't help you"}}