core-plot

CorePlot 1.2 - pod install no response

岁酱吖の 提交于 2019-12-11 04:02:53
问题 I just added pod 'CorePlot', '~> 1.2' to my Podfile, now trying $ pod install Resolving dependencies of `./Podfile' Updating spec repositories Cocoapods 0.18.1 is available. Resolving dependencies for target `default' (iOS 6.0) Downloading dependencies Installing CorePlot (1.2) It's getting hanged there with no response. What can I do ? 回答1: This source library is nearly 200 megabytes. It may depend on your internet connection but I imagine this would complete if you gave it enough time. 回答2:

Touch Event on LEGENDS in Coreplot iOS

一世执手 提交于 2019-12-11 03:35:39
问题 I want that if the user touches a particular legend then i can trigger some action ,say show details for that slice/bar/plot. Is there any delegate method for this besides : -(NSString *)legendTitleForPieChart:(CPTPieChart *)pieChart recordIndex:(NSUInteger)index Thanks! 回答1: This is not available in coreplot as of now. You have to subclass CPTLegend class to add this functionality. There is already a request for this here. Just to point you to right direction. In order to achieve this, you

iOS - Core Plot Linker error after upgrading to Xcode 4.5 [duplicate]

♀尐吖头ヾ 提交于 2019-12-11 03:20:06
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: iOS - Linker error after upgrading to Xcode 4.5, possibly Core Plot related I have the problem described in this post: iOS - Linker error after upgrading to Xcode 4.5, possibly Core Plot related However being pretty new to this i still do not understand how to solve this problem, recompile the library, and have to reach out for some help. I have cleaned etc. 回答1: Two issues could be at play here (iOS Deployment

Custom axis labels for Core Plot

南楼画角 提交于 2019-12-11 03:15:28
问题 I spent more than a week trying to have custom axis label for Core Plot, without success. I read many tutorials and examples on SO, and tried to replicate it in my project, but no success. Please help. This is the code I have: // Create an CPXYGraph and host it inside the view CPTTheme *theme = [CPTTheme themeNamed:kCPTPlainWhiteTheme]; CPTXYGraph *graph = (CPTXYGraph *)[theme newGraph]; hostView.hostedGraph = graph; graph.paddingTop = 10.0; graph.paddingLeft = 10.0; graph.paddingRight = 10.0

Multiple scatterplots using Core Plot and Swift

醉酒当歌 提交于 2019-12-11 02:26:25
问题 I'm trying to find a way to add two different scatterplots to a single graph but i wasn't able so far. I've found some examples in Objective-C but nothing in Swift, just the Scatterplot example in the CorePlot 2.1 release, but it plots the same data in two different line colors. This is what i have so far (only one scatter plot is plotted): import UIKit import CorePlot class ViewController : UIViewController, CPTScatterPlotDataSource { private var scatterGraph : CPTXYGraph? = nil typealias

dynamic data in coreplot iOS on x-axis and y-axis

懵懂的女人 提交于 2019-12-11 00:52:03
问题 how to have dynamic data in x-axis/y-axis in coreplot iOS :Currently using the demo code here:Below every column I need year on x-axis which itself is dynamic and y axis revenue amount .How do I do that dynamically? // // CPDStockPriceStore.m // CorePlotDemo // // NB: Price data obtained from Yahoo! Finance: // http://finance.yahoo.com/q/hp?s=AAPL // http://finance.yahoo.com/q/hp?s=GOOG // http://finance.yahoo.com/q/hp?s=MSFT // // Created by Steve Baranski on 5/4/12. // Copyright (c) 2012

Bubble chart , scatter chart ,candlestick chart using core plot

放肆的年华 提交于 2019-12-11 00:46:36
问题 One my ipad project needs to have 8 kinds graph and chart which include 3 variables bubble chart,scatter chart , candlestick chart etc.A quick search gave me result as a core plot which is currently the most used solution for graph and chart in ios.But when i went in there page i didn't see any kind bubble chart or scatter chart implementation. My Question is.. Is it possible to draw 3 variable bubble chart,scatter chart or candlestick chart in coreplot ??or i need to draw the whole graph

Core Plot 1.0 Retina images not displayed correctly

别等时光非礼了梦想. 提交于 2019-12-11 00:06:45
问题 I am just about done with my App and have added some great things with core plot and the help of their dedicated staff. My question pertains to using images with the retina display. I have an annotation that is a picture of a speech bubble. When I run the App in the simulator, it displays fine for regular resolution, but when I switch to retina, the image is cropped. See pictures below. I have a .png that I called Bubble, and I added another that is called Bubble@2x, which is twice the size,

coreplot bar tap not working

女生的网名这么多〃 提交于 2019-12-10 11:17:39
问题 I have downloaded this code from Github : https://github.com/gilthonweapps/CorePlotBarChartExample .How to get onTap for bar selected ? I am using the following code: #pragma mark - CPTBarPlotDelegate methods -(void)barPlot:(CPTBarPlot *)plot barWasSelectedAtRecordIndex:(NSUInteger)index { NSLog(@"barWasSelectedAtRecordIndex %d", index); } But this is not working (Its not recognizing the Tap).Please Help. Thanks in Advance and Happy New Year. 回答1: Set the plot delegate to your bar plot

Syntax error before '^' token

℡╲_俬逩灬. 提交于 2019-12-10 10:38:25
问题 I just upgraded core-plot to the latest version in an application that was already running successful plots. I followed the fairly simple instructions to the letter, however I'm getting 20 syntax errors in UIView.h. It seems that I'm not alone, but nobody has of yet posted a solution to the issue. An example: This code from UIView.h + (void)animateWithDuration:(NSTimeInterval)duration delay:(NSTimeInterval)delay options:(UIViewAnimationOptions)options animations:(void (^)(void))animations