Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MajorGraduations arc angles were not correct for odd numbers when numbers were used without precision #23

Open
GMalempati opened this issue Jul 21, 2017 · 0 comments

Comments

@GMalempati
Copy link

My project don't need decimal numbers. So I am hiding the precision for numbers. For even number Upper limit , the needle and graduations point correctly. But for odd upper limit the graduations doesn't come in the angles needed. Could you provide any solution or suggest what should be done. While rendering MajorGraduations the gauge is divided into 2 parts and then placing arc angles which is working fine with even numbers. These are functions that need to be changed. Hoping to expect an answer soon. Thank you.

         var renderMajorGraduations = function (majorGraduationsAngles) {
             var centerX = view.width / 2;
             var centerY = view.width / 2;
             //Render Major Graduations

getMajorGraduationValues

getMajorGraduationAngles

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant