-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
RadarChart tick and graph point scale do not match #1078
Labels
Comments
ateich
added a commit
to ateich/fl_chart
that referenced
this issue
Jul 6, 2022
Fixes an issue where RadarChart tick and graph point scale do not match. If a point has a value of 15 and a tick line has a value of 15, I would expect the point to fall on the line. This was not always the case. The values in tick titles did not always match with the values of the points on the graph because - points were drawn assuming the graph center = 0 - tick title values assumed that the graph center = (minValue - ((maxValue - minValue) / tickCount)) This commit resolves this issue by changing the scaling factor applied to points when they are drawn so that they match the scale of the tick lines. New unit tests have been added and existing tests that used the incorrect scaling have been updated. Resolves imaNNeo#1078
ateich
added a commit
to ateich/fl_chart
that referenced
this issue
Jul 6, 2022
Fixes an issue where RadarChart tick and graph point scale do not match. If a point has a value of 15 and a tick line has a value of 15, I would expect the point to fall on the line. This was not always the case. The values in tick titles did not always match with the values of the points on the graph because - points were drawn assuming the graph center = 0 - tick title values assumed that the graph center = (minValue - ((maxValue - minValue) / tickCount)) This commit resolves this issue by changing the scaling factor applied to points when they are drawn so that they match the scale of the tick lines. New unit tests have been added and existing tests that used the incorrect scaling have been updated. Resolves imaNNeo#1078
This was referenced Mar 22, 2023
Merged
Fixed in 0.62.0. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
RadarChart tick and graph point scale do not match
If a point has a value of 15 and a tick line has a value of 15, I would expect the point to fall on the line. This is not always the case
The values in tick titles do not always match with the values of the points on the graph because
To Reproduce
Screenshots
Versions
The text was updated successfully, but these errors were encountered: