Closed GoogleCodeExporter closed 9 years ago
Original comment by drewmcco...@mac.com
on 13 Apr 2010 at 7:06
Original comment by drewmcco...@mac.com
on 21 Apr 2010 at 7:59
How hard is this issue for someone not yet very used to CorePlot internals?
Original comment by asand...@gmail.com
on 26 Apr 2010 at 6:15
Probably not too hard. I would start by doing something similar to how axis
labels are handled and change the
label positioning code to something appropriate for a pie chart.
Original comment by eskr...@mac.com
on 26 Apr 2010 at 10:42
Please implement this ASAP. Is there any other immediate fix for this lie
adding a label outside the pie. When I
try it is coming iverted.
Original comment by hrishike...@gmail.com
on 28 Apr 2010 at 3:06
Are you using CPTextLayer to draw text? It automatically takes care of
inverting the context on iPhone.
Original comment by eskr...@mac.com
on 28 Apr 2010 at 10:44
Can you please give me an example of how to add CPTextLayer to pie chart for
labels. Please help.
Original comment by hrishike...@gmail.com
on 4 May 2010 at 1:55
Look in the CPXYAxis class at how labels are added there. Using that as a
guide, you should be able to figure it
out.
Original comment by drewmcco...@mac.com
on 4 May 2010 at 2:08
I figured it out. Thanks. You guys rock...
Original comment by hrishike...@gmail.com
on 4 May 2010 at 2:24
If you do come up with something clean that works, please consider sending up a
patch, or your revised class
for inclusion.
Original comment by drewmcco...@mac.com
on 4 May 2010 at 2:34
I am not an expert in iPhone programming. SO I think I am not qualified for
that. I am not able to chane the
position of the text. Can you please help.
CPTextLayer *layer = [[[CPTextLayer alloc] initWithText:@"ddddd"] autorelease];
layer.bounds = CGRectMake(0, 0, layer.preferredFrameSize.width,
layer.preferredFrameSize.height);
layer.position = CGPointMake(10, 150);
layer.borderWidth = 1;
layer.anchorPoint = CGPointMake(0,0);
[hostingView.hostedLayer addSublayer:layer];
Original comment by hrishike...@gmail.com
on 4 May 2010 at 2:37
It looks right. Maybe you have to add the sublayer and then set the position.
Original comment by drewmcco...@mac.com
on 4 May 2010 at 2:40
I am sorry. I figured it out.
Original comment by hrishike...@gmail.com
on 4 May 2010 at 2:40
Drew I am working on an interesting iPhone project which basically displays
CPU/MIPS/meter/io consumption in
chart(bar/line/pie) for a legacy mainframe system. This is going to be a high
profile app. I am curious to know
what you think about the future of the core-plot package and the community's
interest on this. I am totally
relying on this package to roll my app.
Original comment by hrishike...@gmail.com
on 4 May 2010 at 2:46
I have a requirement to draw a chart like the one I have attached. Can the
community help me with that.
Original comment by hrishike...@gmail.com
on 4 May 2010 at 2:49
Attachments:
Core Plot is certainly healthy, and I don't expect it to go anywhere.
The plot you show would not be easy to do with Core Plot at the moment. It
looks like we would need a new plot
class to handle that properly, though you may be able to fake it.
Original comment by drewmcco...@mac.com
on 4 May 2010 at 2:54
Pie chart labeling is working.
Original comment by drewmcco...@mac.com
on 8 Jan 2011 at 9:56
Original issue reported on code.google.com by
rlin...@gmail.com
on 13 Apr 2010 at 3:07