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

JBLineChartFooterView Value Marks are Inaccurate #41

Closed
xanderdunn opened this issue Apr 20, 2014 · 1 comment
Closed

JBLineChartFooterView Value Marks are Inaccurate #41

xanderdunn opened this issue Apr 20, 2014 · 1 comment

Comments

@xanderdunn
Copy link

When a line contains dots, the value marks on the JBLineChartFooterView's x-axis don't match up with the center of the dots. Either the dots on the graph are being placed slightly off, or the value marks on the x-axis are being placed slightly off. You can see this happening in the demo app:
Detail:
point

Original image:
img_3967

@terryworona
Copy link
Collaborator

The chart adds vertical and horizontal padding equal to the MAX (thickest line, 0.5 * thickest dot radius).

This is normal. It's not recommended that you use the footer to denote the x-axis, but rather insert your own subview to show horizontal segments.

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

2 participants