N
N
Nistrom2015-07-27 17:53:16
Objective-C
Nistrom, 2015-07-27 17:53:16

How to make drawing 2D graphs on obj-c?

Hello. There is a task to make a library that can be connected to the project for drawing simple two-dimensional graphs by points. I would be glad of any information on how to start doing this, otherwise I have no idea how to approach this issue.
Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander D., 2015-07-28
@Nistrom

Here the question is complex. If there is not a lot of data, and there is no need to implement scrolling and zooming, then simply:
1. Inherit UIView
2. Create storage for data - coordinates
3. In drawRect: draw the necessary lines, background, points and anything you want using Core Graphics
www.raywenderlich.com/tag/core-graphics will help

A
An, 2015-07-27
@Flanker_4

can you take one already made?
core-plot.github.io/iOS/index.html
www.raywenderlich.com/13269/how-to-draw-graphs-wit...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question