core-plot

iPhone Multi touch interactive to CorePlot

风格不统一 提交于 2019-12-20 20:37:32
问题 I'm developing an iPhone application with core-plot chart. With the help of some tutorials, i managed to do it with single touch and drag. How can I make it with multiple touch and drag? Anybody please help me? ViewController.m - (void)viewDidLoad { [super viewDidLoad]; EskPlotTheme *defaultTheme = [[EskPlotTheme alloc] init]; linePlot = [[EskLinePlot alloc] init]; linePlot.delegate = self; [linePlot renderInLayer:lineHostingView withTheme:defaultTheme]; [defaultTheme release]; } EskLinePlot

core plot 1.0 with iPhone 5 and Xcode 4.2 - 'CorePlot0' does not contain a valid pid Error on compilation

那年仲夏 提交于 2019-12-20 07:16:15
问题 I have followed installation steps from the core plot in Application url. As defined in subject, core plot version is 1.0 which was tried with iPhone 5.0 Simulator in Xcode 4.2. what I did : 1) I've simply copy one of the CorePlot Example (i.e : CPTTestApp-iphone) from CorePlot_1.0/Source/Example Folder to my Xcode project workspace. 2) Drag&Drop framework folder from CorePlot_1.0/Source/ in my example app. 3) Changed Header Search Path and User Header Search Path with string "${PROJECT_DIR}

How to set arrows at the end of Core Plot axis?

流过昼夜 提交于 2019-12-20 03:44:28
问题 I found Core Plot as very nice plotting library. But there is small issue: I can not find any way to set directional arrows at the end of axis for plots. Am I missing something here maybe? 回答1: This isn't supported by Core Plot yet. You can add an enhancement request at the Core Plot issue tracker. No guarantees on when something like this will be implemented, but an open issue will keep it on the radar. In the meantime, you could fake it using a plot space annotation to position your own

How do you enable touch selection of a section in a Core Plot pie chart?

半世苍凉 提交于 2019-12-20 02:33:24
问题 I am using the Core Plot framework to draw a pie chart, and am having no issues in drawing the pie chart itself. However, I need the pie chart to be interactive in nature, i.e., if I tap on any particular section in the pie chart, it should trigger the navigation to a page showing details of that particular section. I tried using the method -(void)pieChart:sliceWasSelectedAtRecordIndex: , but that delegate method was never called. What do I need to enable this touch interaction? 回答1: I have

iPhone Core-plot: Chart Zoom In Zoom out, Y axis Bigger, Y axis Smaller

安稳与你 提交于 2019-12-20 01:39:05
问题 I am now using Core-plot for iPhone chart Development. But it has some requirement i can not reach. I am now using CorePlot 0.4 , example code AAPLot to develop Please have a look the following image, then you will know what is my problem Thank you very much... I really need help for this problem, thank you i want my result like this application 回答1: I see several questions here: Y-axis scale: Try the CPTAxisLabelingPolicyAutomatic labeling policy on your y-axis. If that doesn't give you

Core-Plot: Unknown class CPLayerHostingView in Interface Builder file

馋奶兔 提交于 2019-12-19 10:11:30
问题 Using core-plot does not seem to be an easy integration task. Header path are already setup. In Interface-Builder I create an CPLayerHostingView which belongs to a View Controller which is instantiated by Interface Builder. When the nib file is loaded I get the message: Unknown class CPLayerHostingView in Interface Builder file 回答1: I found, that there are two different versions of that object. One for Mac-Only called "CPLayerHostingView", one for iPhone only called "CPGraphHostingView". If

Application crashes when working with core plot

混江龙づ霸主 提交于 2019-12-19 08:04:15
问题 Unknown class CPTGraphHostingView in Interface Builder file. 2012-01-09 16:09:34.242 ChartArea[2595:207] -[UIView setHostedGraph:]: unrecognized selector sent to instance 0x4c064f0 2012-01-09 16:09:34.245 ChartArea[2595:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIView setHostedGraph:]: unrecognized selector sent to instance 0x4c064f0' This is the error I am getting this evening. i am setting the class name of to CPTGraphHostingView to my

Moving date on x-axis

吃可爱长大的小学妹 提交于 2019-12-19 04:57:10
问题 I have been playing with Core Plot and trying to create a dynamic date x-axis. From the date plot example I have managed to create a static date axis, but would like to create a two-minute window at any time and update the xRange values. I am not sure on how to pass dates as the xRange min and length values and display time on the x-axis. I have looked at examples, but I haven't been able to utilize NSTimeInterval (if this is how to do it...). Below is the picture (if it helps) Below is my

How Add a legend to Core Plot in iPhone SDK?

醉酒当歌 提交于 2019-12-19 00:21:32
问题 How can I add Legends in Core Plot framework? I am greatly appreciative of any guidance or help. 回答1: There is no Legend class yet. You can fake it using an image sometimes, but it is not in Core Plot yet. Check drewmcco Comment Legends have not yet been implemented in Core Plot. You're more than welcome to contribute an implementation of them to the framework. In the meantime, you could construct a custom UIView with UILabels and colored lines to act as the legend for the graph, then add it

missing required architecture x86_64 in file libCorePlot-CocoaTouch.a

旧街凉风 提交于 2019-12-18 11:07:46
问题 According to the Ray Wenderlich tutorial, I done the following : Step 1 - I downloaded CorePlot_1.4.zip on the official website Step 2 - I added to my project the CorePlotHeaders folder and the static library named libCorePlot-CocoaTouch.a (checking “Copy items into destination group’s folder (if needed)” ) Step 3 - I added into Other Linker Flags field the following : -ObjC Step 4 - I checked into Link Binary with Libraries if libCorePlot-CocoaTouch.a and QuartzCore frameworks were here