You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had a similar but not exactly the same issue. I am using SwiftUI and use the padding on the full chart rather than on the axis itself:
See details and a code snippet here: #4405
I am trying to find a solution to add a padding on the xAxis.
I DO NOT WANT TO CHANGE ANYTHING OF THE GRAPH ITSELF
My view looks like this :
As you can see the dates values are out of the graph. I would like to do recenter the the values on this axis.
When I call
chartView.xAxis.avoidFirstLastClippingEnabled = true
it does the work on one sidesuch as follow:However it's not effective on the other side, plus the values do not have the right spacing anymore.
What could some my problem is to have an equivalent of this, only effective for those dates :
chartView.setExtraOffsets(left: 36, top: 0, right: 36, bottom: 40)
I would be happy hear any kind of solution I am getting desperate on this.
Thanks for helping
The text was updated successfully, but these errors were encountered: