core-plot

issue with using Core Plot in XCode6.1

会有一股神秘感。 提交于 2019-12-02 16:13:11
问题 I followed each step successfully from here. I am able to import #import "CorePlot-CocoaTouch.h" But When I Build My Project I get linker Error.How I can resolve this error. Here is the screenshot of the error that i am getting: 回答1: Those missing symbols are from the Accelerate framework. Recent Core Plot builds require your app to link that framework, too. 来源: https://stackoverflow.com/questions/29342286/issue-with-using-core-plot-in-xcode6-1

Core Plot - Options on making the graph full screen - addSubview after presenting modal problems

橙三吉。 提交于 2019-12-02 15:10:09
问题 This is a multifaceted question that can help those using Core Plot, or those who are having problems presenting a UIViewController modally, then trying to add it as a subview to a smaller UIView. I have a Core Plot graph (corePlotView) added to a 500x350 UIView (myView) and am successfully presenting it "modally" using a long press: -(void)press:(UILongPressGestureRecognizer*)gesture { if(gesture.state == UIGestureRecognizerStateEnded) { corePlotView.closeBtn.hidden = NO; corePlotView.iPadCV

Getting Error : “ CorePlot-CocoaTouch.h: No such file or directory” while implementing Core-Plot in iPhone SDK

爱⌒轻易说出口 提交于 2019-12-02 13:13:35
问题 I am getting the following error when I try to implement Core-Plot in my iPhone app. CorePlot-CocoaTouch.h: No such file or directory I downloaded installed the Core-plot package from the below link http://code.google.com/p/core-plot/w/list Still it does not seem to work and gives error as mentioned above. What could be wrong? 回答1: Use this link, and add -all_load and -Objc in other linker Flags (get info -> build (in linking section you find other linker flags)). And give complete path in

issue with using Core Plot in XCode6.1

与世无争的帅哥 提交于 2019-12-02 11:10:18
I followed each step successfully from here . I am able to import #import "CorePlot-CocoaTouch.h" But When I Build My Project I get linker Error.How I can resolve this error. Here is the screenshot of the error that i am getting: Those missing symbols are from the Accelerate framework. Recent Core Plot builds require your app to link that framework, too. 来源: https://stackoverflow.com/questions/29342286/issue-with-using-core-plot-in-xcode6-1

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

落花浮王杯 提交于 2019-12-02 11:09:07
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}/framework"/** 4) and follows other steps as from the core plot in Application url like set other linker

CorePlot iPhone error : CorePlot-CocoaTouch.h: no such file or directory

牧云@^-^@ 提交于 2019-12-02 10:54:34
问题 I'm trying to walk someone through adding CorePlot to their iPhone app. I have it working on my computer, but he keeps getting the CorePlot-CocoaTouch.h: no such file or directory error. I get the same error if I mess up the "header search paths" in the build settings. Otherwise, I can build it just fine. The only difference in our setup is that I'm using XCode 3.2.3 and he is using a previous version. Would that cause an issue like this? The only thing I can think of is that his header

Core Plot - Options on making the graph full screen - addSubview after presenting modal problems

こ雲淡風輕ζ 提交于 2019-12-02 09:58:39
This is a multifaceted question that can help those using Core Plot, or those who are having problems presenting a UIViewController modally, then trying to add it as a subview to a smaller UIView. I have a Core Plot graph (corePlotView) added to a 500x350 UIView (myView) and am successfully presenting it "modally" using a long press: -(void)press:(UILongPressGestureRecognizer*)gesture { if(gesture.state == UIGestureRecognizerStateEnded) { corePlotView.closeBtn.hidden = NO; corePlotView.iPadCV = self; [corePlotView loadFullGraph]; [ipadDelegate.detailViewController presentViewController

How can I get the y-axis to be at a particular x-value in CorePlot?

别来无恙 提交于 2019-12-02 09:28:29
问题 I have the following bar graph. I want the y-axis to be present at x = 2005 (x range 2006-2012), however it seems to only want to show up when I change the x-axis range to 0-whatever: Here is my code where I configure the plot: //Create graph and set it as host view's graph self.graph = [[CPTXYGraph alloc] initWithFrame:self.hostView.bounds]; [self.hostView setHostedGraph:self.graph]; //set graph padding and theme self.graph.plotAreaFrame.paddingTop = 10.0f; self.graph.plotAreaFrame

Error: “-[UIView setHostedGraph:]: unrecognized selector” while executing the core plot in iPhone app

走远了吗. 提交于 2019-12-02 08:16:54
问题 I get the below error when I try to compile the below code: Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIView setHostedGraph:]: unrecognized selector sent to instance 0x6768c10' Code: UIView *ChartView; ChartView = [[UIView alloc] init]; graph = [[CPXYGraph alloc] initWithFrame: ChartView.bounds]; CPGraphHostingView *hostingView = (CPGraphHostingView *)ChartView; hostingView.hostedGraph = graph; What could be wrong? 回答1: You're casting a UIView instance

How can I get the y-axis to be at a particular x-value in CorePlot?

本秂侑毒 提交于 2019-12-02 07:27:30
I have the following bar graph. I want the y-axis to be present at x = 2005 (x range 2006-2012), however it seems to only want to show up when I change the x-axis range to 0-whatever: Here is my code where I configure the plot: //Create graph and set it as host view's graph self.graph = [[CPTXYGraph alloc] initWithFrame:self.hostView.bounds]; [self.hostView setHostedGraph:self.graph]; //set graph padding and theme self.graph.plotAreaFrame.paddingTop = 10.0f; self.graph.plotAreaFrame.paddingRight = 10.0f; self.graph.plotAreaFrame.paddingBottom = 60.0f; self.graph.plotAreaFrame.paddingLeft = 60