-
Notifications
You must be signed in to change notification settings - Fork 420
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
Aligning X-axis, padding? #43
Comments
Padding is currently private atm. We could potentially expose this, but I'd really rather keep it private. If you want, go ahead and modify the following (private) function to meet your needs:
|
Does it apply the same padding all around the chart? |
It's dynamic based on the thickest line or thickest rot radius. padding = MAX(thickestLine.width, thickestDot.radius) * 0.5; |
But is this only the padding on the left and right? |
All around the chart (left, top, right, bottom) since a line or dot can be on any given edge |
Just replace - (CGFloat)padding with:
If you don't want any padding. |
Well I just want to adjust the left and right padding so that the x-axis labels I added line up properly. |
|
Are there any methods to set the padding on the line chart so as to align the points with an X-axis (or Y-axis) labeling?
Thanks
The text was updated successfully, but these errors were encountered: