let hostView: CPTGraphHostingView = CPTGraphHostingView(frame: view.frame)
hostView.tag = hostview_tag
hostView.backgroundColor = .clear
view.addSubview(hostView)
let graph: CPTGraph = CPTGraph() // crashing at this line.
On Feb 13, 2020, at 8:11 AM, Kedar Desai <ke...@credenceconsultancy.com> wrote:
--
You received this message because you are subscribed to the Google Groups "coreplot-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coreplot-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/coreplot-discuss/f1299016-915d-4216-b5b3-71119bd56180%40googlegroups.com.
You need to create a CPTXYGraph.There are several example apps included with Core Plot that demonstrate many features. The Plot Gallery app is a good place to start.EricOn Feb 13, 2020, at 8:11 AM, Kedar Desai <ke...@credenceconsultancy.com> wrote:
Hi,--I am, new to coreplot. I am trying to create a simple line graph.I have initialised hostview and trying to create CPTGraph object. But its crashing saying : *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: space'My code is as below :let hostView: CPTGraphHostingView = CPTGraphHostingView(frame: view.frame)
hostView.tag = hostview_tag
hostView.backgroundColor = .clear
view.addSubview(hostView)
let graph: CPTGraph = CPTGraph() // crashing at this line.Can anybody help me with this?Also, please suggest me some simple and advanced coreplot tutorials which will help me to create interactive graph including detecting touch events and finding value at which user touch occurred.
You received this message because you are subscribed to the Google Groups "coreplot-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coreplot...@googlegroups.com.