Posts

Post marked as solved
14 Replies
Just to make sure that I tested it out correctly, the width is not getting enlarged. On the other hand, the height is enlarding.So, lets say we have 2 points next to each others on the X-Axis, by zooming in, they will be still next to each others. But, if two points are next to each others on the Y-Axis, they get away from each others.Isn't should change the width as well because "newContentSize " is for new width and height as well?** Update:It works if the if condition for the extra is changed to:if extraWidth < 8 {I noticed that the width is in the nagtive value thou
Post marked as solved
14 Replies
Thank you!I actually managed to zoom in the graph by the gesture and using implementing this fucntion:func viewForZooming(in scrollView: UIScrollView) -> UIView? { return quadrantChartView }
Post marked as solved
14 Replies
I really don't know how to thank you! I'm testing it out and I have no words to describe how greateful I'm.
Post marked as solved
14 Replies
I implemented the x & y title ( just have to rotate the text 90 degrees) but I'll leave it for tomorrow. One last question, do you have any useful resource to read/learn so I can add a zoom feature to the graph? Just to know where to go from here.
Post marked as solved
14 Replies
This is what I was working on yesterday to fix. Thank you!Also, I had one problem where the values of the axis ( 0 , 20% , 40 ..etc) are placed above the axis. I changed line 111 to: scalePoint.y = midDrawY - 5 - fullDrawingHeight / 45.0 // 45 instead of 15.0Going to implement x&y axis title and add more functions as well. I really appreciate your help more than you imagine! it was really helpful.
Post marked as solved
14 Replies
To be completly honest, I was not expecting such a detailed and useful reply like this! Thank you so much for all your help and explaination. I just tested it out and it worked! I will tweak the code more and add more features on it. I wish that you a very nice day like you made my day.