Re: Simple Vector Based Line Charts
Re: Simple Vector Based Line Charts
- Subject: Re: Simple Vector Based Line Charts
- From: James Montgomerie <email@hidden>
- Date: Thu, 25 Apr 2013 15:07:50 +0100
If you have quite simple requirements, a CAShapeLayer might work.
You'll need to create a CGPath to give it to render. On iOS, UIBezierPath can help with creating the CGPath if you don't want to drop to the CGPath API (no such luck on Mac - NSBezierPath can't be trivially converted to a CGPath AFAIK). The C-based CGPath API is not bad though.
Jamie.
On 10 Apr 2013, at 06:31, YT <email@hidden> wrote:
>
> So I was looking for a graphics library in the Developer Docs that serves both Mac-Apps and iOS-Apps.
>
> I found references to polylines in a MapKit.
> There is of course Quartz2D and OpenGL.
>
> So which of these libraries or perhaps there is another I have not heard of yet is best at building simple vector line charts?
>
> YT
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden