{"action":"created","issue":{"url":"https://api.github.com/repos/kimmobrunfeldt/progressbar.js/issues/59","labels_url":"https://api.github.com/repos/kimmobrunfeldt/progressbar.js/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/kimmobrunfeldt/progressbar.js/issues/59/comments","events_url":"https://api.github.com/repos/kimmobrunfeldt/progressbar.js/issues/59/events","html_url":"https://github.com/kimmobrunfeldt/progressbar.js/issues/59","id":70512575,"number":59,"title":"How can I limit it to a specific percentage?","user":{"login":"edwardoyarzun","id":1775903,"avatar_url":"https://avatars.githubusercontent.com/u/1775903?v=3","gravatar_id":"","url":"https://api.github.com/users/edwardoyarzun","html_url":"https://github.com/edwardoyarzun","followers_url":"https://api.github.com/users/edwardoyarzun/followers","following_url":"https://api.github.com/users/edwardoyarzun/following{/other_user}","gists_url":"https://api.github.com/users/edwardoyarzun/gists{/gist_id}","starred_url":"https://api.github.com/users/edwardoyarzun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edwardoyarzun/subscriptions","organizations_url":"https://api.github.com/users/edwardoyarzun/orgs","repos_url":"https://api.github.com/users/edwardoyarzun/repos","events_url":"https://api.github.com/users/edwardoyarzun/events{/privacy}","received_events_url":"https://api.github.com/users/edwardoyarzun/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-23T21:03:24Z","updated_at":"2015-04-23T21:22:13Z","closed_at":"2015-04-23T21:19:51Z","body":"I'm using this library to represent the percentage of CPU and RAM of a computer.\r\nHow can I set a specific percentage, e.g. 40%.\r\n"},"comment":{"url":"https://api.github.com/repos/kimmobrunfeldt/progressbar.js/issues/comments/95722245","html_url":"https://github.com/kimmobrunfeldt/progressbar.js/issues/59#issuecomment-95722245","issue_url":"https://api.github.com/repos/kimmobrunfeldt/progressbar.js/issues/59","id":95722245,"user":{"login":"kimmobrunfeldt","id":1232405,"avatar_url":"https://avatars.githubusercontent.com/u/1232405?v=3","gravatar_id":"","url":"https://api.github.com/users/kimmobrunfeldt","html_url":"https://github.com/kimmobrunfeldt","followers_url":"https://api.github.com/users/kimmobrunfeldt/followers","following_url":"https://api.github.com/users/kimmobrunfeldt/following{/other_user}","gists_url":"https://api.github.com/users/kimmobrunfeldt/gists{/gist_id}","starred_url":"https://api.github.com/users/kimmobrunfeldt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kimmobrunfeldt/subscriptions","organizations_url":"https://api.github.com/users/kimmobrunfeldt/orgs","repos_url":"https://api.github.com/users/kimmobrunfeldt/repos","events_url":"https://api.github.com/users/kimmobrunfeldt/events{/privacy}","received_events_url":"https://api.github.com/users/kimmobrunfeldt/received_events","type":"User","site_admin":false},"created_at":"2015-04-23T21:22:13Z","updated_at":"2015-04-23T21:22:13Z","body":"I updated examples in homepage and JSFiddle to communicate it more clearly. For others finding this issue, here's an example: http://jsfiddle.net/tnmupvqf/\r\n\r\n```javascript\r\nvar circle = new ProgressBar.Circle('#container', {\r\n    color: '#FCB03C',\r\n    trailColor: '#eee'\r\n});\r\n\r\nvar percent = 40;\r\ncircle.animate(percent / 100);  // Number from 0.0 to 1.0\r\n```"}}