I am using core plot to make a line graph with a long xAxis-range. I made the vertical direction of the graph fixed/constant and let it only scroll horizontally. However, if I start scrolling/swiping horizontally, the y-Axis will not move along (like the x-label). The y-Axis is only visible at starting point of the graph. I would appreciate if somebody can help me. Thank you very much in advance.
Use the axisConstraints
:
y.axisConstraints = [CPTConstraints constraintWithLowerOffset:0.0];
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With