{"action":"reopened","issue":{"url":"https://api.github.com/repos/nnnick/Chart.js/issues/626","labels_url":"https://api.github.com/repos/nnnick/Chart.js/issues/626/labels{/name}","comments_url":"https://api.github.com/repos/nnnick/Chart.js/issues/626/comments","events_url":"https://api.github.com/repos/nnnick/Chart.js/issues/626/events","html_url":"https://github.com/nnnick/Chart.js/issues/626","id":42609122,"number":626,"title":"Incorrect yAxis labels after configured the customized scale setting","user":{"login":"BeamLiu","id":4420141,"avatar_url":"https://avatars.githubusercontent.com/u/4420141?v=3","gravatar_id":"","url":"https://api.github.com/users/BeamLiu","html_url":"https://github.com/BeamLiu","followers_url":"https://api.github.com/users/BeamLiu/followers","following_url":"https://api.github.com/users/BeamLiu/following{/other_user}","gists_url":"https://api.github.com/users/BeamLiu/gists{/gist_id}","starred_url":"https://api.github.com/users/BeamLiu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BeamLiu/subscriptions","organizations_url":"https://api.github.com/users/BeamLiu/orgs","repos_url":"https://api.github.com/users/BeamLiu/repos","events_url":"https://api.github.com/users/BeamLiu/events{/privacy}","received_events_url":"https://api.github.com/users/BeamLiu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nnnick/Chart.js/labels/Needs%20test%20case","name":"Needs test case","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-09-12T08:58:15Z","updated_at":"2015-03-17T14:23:14Z","closed_at":null,"body":"See below chart, it is generated by the setting: \r\n\r\n    {'scaleStartValue': 0, 'scaleSteps':scaleSteps, 'scaleOverride':true, 'scaleStepWidth': 0.065};\r\n\r\n![yaxisissuechart](https://cloud.githubusercontent.com/assets/4420141/4247454/159d65fe-3a5a-11e4-8129-5595687c9a2a.png)\r\n\r\nThe first label should be 0.065, but not 0.\r\n\r\nAfter I update the code in chart.min.js, it seems it goes to correct.\r\n\r\ncalculatedScale.labels.push(tmpl(labelTemplateString,{value:(config.scaleStartValue + (config.scaleStepWidth * i)).toFixed(getDecimalPlaces (config.scaleStepWidth))}));\r\n\r\nto\r\n\r\ncalculatedScale.labels.push(tmpl(labelTemplateString,{value:(config.scaleStartValue + (config.scaleStepWidth * (i+1))).toFixed(getDecimalPlaces (config.scaleStepWidth))}));\r\n\r\n\r\n"}}