core-plot

Building a Mac OS X/Cocoa application for distribution with an imported framework

ぃ、小莉子 提交于 2019-11-28 00:14:32
问题 So I built an application which compiles and runs fine from Xcode. Now I want to distribute it to other people so they can use it. How do I do that correctly? I thought it was as simple as archiving it, and then sharing it as a .pkg or an application. But whenever I open up the application it crashes with the following message: Application Specific Information: dyld: launch, loading dependent libraries Dyld Error Message: Symbol not found: _OBJC_CLASS_$_CPTBorderedLayer Referenced from:

What are the alternatives to Core-Plot for drawing graphs in iPhone SDK

人走茶凉 提交于 2019-11-27 19:56:18
问题 Are there any alternatives to Core-Plot for drawing graphs in iPhone SDK? I am having hard time integrating core-plot in my app. Lot of issues. Can you please suggest some alternatives to core-plot? 回答1: Some of the alternatives that I found were: http://sebkade.wordpress.com/2010/05/06/basic-graph-class-for-iphone/ http://www.rgraph.net/ http://www.ivisualization.com/ http://www.vvi.com/apps/vvidget http://cocoacontrols.com/platforms/ios/controls/tapku-graph (thanks Sudo for this link) http:

Installing Core-Plot in Xcode 4.2 for iOS project

[亡魂溺海] 提交于 2019-11-27 19:32:33
I am trying to install Core Plot into my iOS app. I have followed the instructions on the Core Plot website but they are very brief and have no screenshots. I have pasted the instructions below and explained where I am stuck... First, drag the CorePlot-CocoaTouch.xcodeproj file into your iPhone application's Xcode project. Show the project navigator in the left-hand list and click on your project. Select your application target from under the "Targets" source list that appears. Click on the "Build Phases" tab and expand the "Target Dependencies" group. Click on the plus button, select the

swift failed with exit code 1 while compiling in Xcode - possibly related to Bridging-Headers

喜欢而已 提交于 2019-11-27 18:57:28
I have an Obj-C Project I'm trying to migrate to Swift. I did succeed with various classes but recently ran into an issue I can't seem to make sense of. When I try to compile my current code base I get the following (SUPER UNHELPFUL ERROR MESSAGE) Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1 My only assumption is its somehow related to my bridging-headers but Xcode isn't giving me enough information to figure out if this is actually true. I'm using Cocoapods to add the CorePlot to my project. I'm trying to migrate

iOS Scatter core plot with a gap

孤街醉人 提交于 2019-11-27 16:22:09
How does one draw a scatter plot with a gap using core plot? I was using the core plot library. Everything is working fine but now I want to do a scatter plot with a gap at the beginning or in the middle of the dataline? Someone help me please? Have the datasource return nil or [NSNull null] . For example, if the plot has five data points and you return nil for the x or y field at index 2, the plot will draw the points at indices 0 and 1 connected by a line and indices 3 and 4 connected by a line with a gap in between. 来源: https://stackoverflow.com/questions/17333532/ios-scatter-core-plot-with

CorePlot failed to build in XCode 4.4

≯℡__Kan透↙ 提交于 2019-11-27 15:15:43
I am using CorePlot 0.3, everything was ok until I upgraded XCode to 4.4 (2 days ago), CorePlot failed to build and I got some errors with message: clang: error: -Z-reserved-lib-stdc++: 'linker' input unused when '-c' is present Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1 I have tried to search and it seems there are many people have a same problem, and I also found some suggestions and solution to fix it, I have applied to my CorePlot version but no luck, the issue appear in some classes such as: CPTPlot.m,

iOS - Linker error after upgrading to Xcode 4.5, possibly Core Plot related

北慕城南 提交于 2019-11-27 14:21:54
I've just upgraded to Xcode 4.5GM and tidied up some screens in my iPhone project to cope with the extra screen size on iPhone 5. The project is targeting iOS 5.1 and I've just come to build it for my phone and I get this linker error : file is universal (2 slices) but does not contain a(n) armv7s slice: /Users/JonathanW/Documents/MyXcode/myApp/myApp/CorePlot/libCorePlot-CocoaTouch.a for architecture armv7s I'm using the Core Plot 1.0 static library in my project and have not had any issues with it until now. Looking around I can see similar errors to do with the build architecture settings

How to animate the pie charts developed using core-plot library?

扶醉桌前 提交于 2019-11-27 14:11:35
问题 In the iPhone application Roambi, the pie chart shown can be animated to rotate with the user as if rotating a disc. We can hold and do lot of stuff with that. Someone mentioned that the Roambi app was developed using core-plot library: What library use Roambi app iPhone to draw chart? How can I manipulate a pie chart developed using Core plot? 回答1: A quick look at the Core Plot source code reveals that CPPieChart 's inheritance looks like this: CPPieChart : CPPlot : CPAnnotationHostLayer :

real time plotting on iPhone using core plot?

二次信任 提交于 2019-11-27 10:58:08
I want to use core-plot for drawing line graph dynamically. data won't come at a time, we will be receiving point by point dynamically. Is it possible to draw the chart dynamically using core-plot i.e drawing point by point as on when we receive the (x,y) point? Please help me, Thanks. Yes, you can do this reasonably easily. For each received data point, append it to an array of values to display. As these data points come in, call -reloadData on the Core Plot graph (or just the particular plot) to redraw the graph, passing in the array you just added a value to in response to the

CorePlot with swift: there is no yAxis.majorIntervalLength

谁说我不能喝 提交于 2019-11-27 08:46:04
问题 Here is how my graph looks like: I wan't the y axis to have an interval of 50 so i try doing this: var axisSet: CPTXYAxisSet = CPTXYAxisSet(layer: graph.axisSet) var y = axisSet.yAxis y.majorIntervalLength = 50 But majorIntervalLength doesn't seems to exist 回答1: Swift doesn't support NSDecimal values. We've made some changes to the Core Plot API, replacing NSDecimal with NSDecimalNumber . The changes are on the release-2.0 branch and not in a release package yet. See Core Plot issue #96 for