Giter Club home page Giter Club logo

Comments (10)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 24, 2024
Changed to enhancement.

Original comment by [email protected] on 11 Feb 2009 at 2:32

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

from core-plot.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 24, 2024

Original comment by [email protected] on 7 Jun 2009 at 6:21

  • Added labels: Priority-High
  • Removed labels: Priority-Medium

from core-plot.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 24, 2024
CPAnnotation could be a subclass of the new CPBorderedLayer class.

Original comment by [email protected] on 17 Jun 2009 at 3:59

from core-plot.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 24, 2024
It would probably be a good idea to put all annotations in a special annotation 
layer above all other layers in the 
graph hierarchy.

Original comment by [email protected] on 29 Nov 2009 at 2:47

from core-plot.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 24, 2024
Issue 91 has been merged into this issue.

Original comment by [email protected] on 23 Jan 2010 at 7:33

from core-plot.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 24, 2024
Annotations have been added. They can be anchored to the plot space or to a 
layer (usually the plot area or graph). The annotation content can be any 
CPLayer, including a CPBorderedLayer if a border is needed.

Of the features described above, the only one not implemented yet is the 
pointing line and/or arrow.

The legend class should be a subclass of CPBorderedLayer, not CPAnnotation. 
This way, the legend can be added as an annotation on the graph. Legends are 
described in issue #90 and will not be discussed here any further.

Original comment by [email protected] on 5 Nov 2010 at 1:28

  • Changed title: Add CPAnnotation classes

from core-plot.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 24, 2024

Original comment by [email protected] on 8 Jan 2011 at 9:42

  • Added labels: Priority-Low
  • Removed labels: Priority-High

from core-plot.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 24, 2024
I tried to add an image annotation to a barplot. It works fine in iOS 
simulator, but the image annotation not shown on the device.  I am using Xcode 
4.2.  Tested on two devices, one is iOS 4.3, another one is iOS5.0.1.

The piece of code I tried is below:


    CPTPlotSpaceAnnotation *imageAnnotation;
    CGRect imageRect = CGRectMake(50, 50 ,30, 30);
    CPTLayer *newImagelLayer = [[CPTLayer alloc] initWithFrame:imageRect];
    newLabelLayer.contents = (id)[[UIImage imageNamed:@"test.png"] CGImage];
    imageAnnotation = [[CPTPlotSpaceAnnotation alloc] initWithPlotSpace:plotSpace anchorPlotPoint:nil];
    imageAnnotation.contentLayer = newImagelLayer;
    [barPlot addAnnotation:imageAnnotation];
    [newImagelLayer release];
    [imageAnnotation release];

Is this a known issue?  I don't understand why it works in simulator but not on 
device.

Original comment by [email protected] on 6 Jan 2012 at 8:10

from core-plot.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 24, 2024
Don't set the contents of a CPTLayer. Instead, use a CPTBorderedLayer and set 
the fill. One way to create the fill is like this:

[CPTFill fillWithImage:[CPTImage imageWithCGImage:[[UIImage 
imageNamed:@"test.png"] CGImage]]]

Original comment by [email protected] on 7 Jan 2012 at 4:06

from core-plot.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 24, 2024
Moved to GitHub issue #2.

https://github.com/core-plot/core-plot/issues/2

Original comment by [email protected] on 29 Dec 2013 at 12:30

  • Changed state: Done

from core-plot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.